]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: Alter error path cleanup for qemuDomainAttachChrDevice
authorJohn Ferlan <jferlan@redhat.com>
Thu, 14 Jul 2016 21:55:05 +0000 (17:55 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Tue, 19 Jul 2016 11:13:09 +0000 (07:13 -0400)
commit05bc30d2bba8e7074e5bd1888c082edb567e07d0
tree93ed534fe8200176d423caf65f846aa1fdc222b7
parentc3b5f22dec05389a8a164761976d4aa64d4c399f
qemu: Alter error path cleanup for qemuDomainAttachChrDevice

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