]> xenbits.xensource.com Git - libvirt.git/commit
qemu_hotplug: Use more gotos in qemuDomainDetach*Device
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 23 May 2018 16:36:57 +0000 (18:36 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 28 May 2018 11:08:49 +0000 (13:08 +0200)
commite73f6b4d6679d5a1a3751999b527c18b1eb48b24
treedab56a437ac525771fe7ca998e5bfddbf58a996a
parentee87e5de3662d4f58d1a9cc69eca70580f649aa3
qemu_hotplug: Use more gotos in qemuDomainDetach*Device

We are overwriting @ret a lot. It makes hard to see what is
actually going on. Use more gotos. Two functions are fixed here:
qemuDomainDetachShmemDevice() and qemuDomainDetachWatchdog().

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_hotplug.c