]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Alter error path cleanup for qemuDomainAttachVirtioDiskDevice
authorJohn Ferlan <jferlan@redhat.com>
Thu, 14 Jul 2016 21:28:53 +0000 (17:28 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 19 Jul 2016 11:13:09 +0000 (07:13 -0400)
commita7f84cb1ee037c2ea6c803450eb692d8030b4227
tree284d2677891b0137e3c9b1dfd6113b6150b967ab
parent6fe2eb2458b5e4b84f5aede6d3fdf3ae47c0cd02
qemu: Alter error path cleanup for qemuDomainAttachVirtioDiskDevice

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