]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Alter error path cleanup for qemuDomainAttachHostSCSIDevice
authorJohn Ferlan <jferlan@redhat.com>
Thu, 14 Jul 2016 21:15:10 +0000 (17:15 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 19 Jul 2016 11:13:09 +0000 (07:13 -0400)
commit6fe2eb2458b5e4b84f5aede6d3fdf3ae47c0cd02
tree24513e19f99cfc66027a3391164d338d36816517
parent28e191a96cf18dc241f4c3a4224bdf1f20aa1bdf
qemu: Alter error path cleanup for qemuDomainAttachHostSCSIDevice

Based on recent review comment - rather than have a spate of goto failxxxx,
change to a boolean based model. Ensures that the original error can be
preserved and cleanup is a bit more orderly if more objects are added.
src/qemu/qemu_hotplug.c