Re: [libvirt] [PATCH 3/7] qemu: Alter error path cleanup for qemuDomainAttachSCSIDisk

2016-07-19 Thread Ján Tomko
On Fri, Jul 15, 2016 at 07:50:23AM -0400, John Ferlan wrote: Based on recent review comment - rather than have a spate of goto fail, 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. Signed-off-by:

[libvirt] [PATCH 3/7] qemu: Alter error path cleanup for qemuDomainAttachSCSIDisk

2016-07-15 Thread John Ferlan
Based on recent review comment - rather than have a spate of goto fail, 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. Signed-off-by: John Ferlan --- src/qemu/qemu_hotplug.c |