]> xenbits.xensource.com Git - libvirt.git/commit
qemu: Alter error path cleanup for qemuDomainAttachSCSIDisk
authorJohn Ferlan <jferlan@redhat.com>
Thu, 14 Jul 2016 21:47:13 +0000 (17:47 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 19 Jul 2016 11:13:09 +0000 (07:13 -0400)
commitc3b5f22dec05389a8a164761976d4aa64d4c399f
tree25b207e9a8a35fe4dfccd383c1ee4f250b78ab9c
parenta7f84cb1ee037c2ea6c803450eb692d8030b4227
qemu: Alter error path cleanup for qemuDomainAttachSCSIDisk

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