[libvirt] [PATCH 4/8] qemu: Don't repeat virDomainObjEndAPI in qemuDomainBlockPull
Eric Blake
eblake at redhat.com
Thu Sep 26 22:02:49 UTC 2019
On 9/26/19 10:51 AM, Peter Krempa wrote:
> Add a 'cleanup' label and use jumps as we do in other places.
>
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
> src/qemu/qemu_driver.c | 17 ++++++++++-------
> 1 file changed, 10 insertions(+), 7 deletions(-)
> + cleanup:
> + virDomainObjEndAPI(&vm);
> + return ret;
> }
Is there any way to make virDomainObjEndAPI() replaceable by AUTO framework?
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3226
Virtualization: qemu.org | libvirt.org
More information about the libvir-list
mailing list