[libvirt] [PATCH v2 07/12] qemu_hotplug: Use more gotos in qemuDomainDetach*Device

Ján Tomko jtomko at redhat.com
Sat May 26 08:35:08 UTC 2018


On Thu, May 24, 2018 at 01:13:34PM +0200, Michal Privoznik wrote:
>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 at redhat.com>
>---
> src/qemu/qemu_hotplug.c | 42 ++++++++++++++++++++++--------------------
> 1 file changed, 22 insertions(+), 20 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20180526/d4fa9ef9/attachment-0001.sig>


More information about the libvir-list mailing list