[PATCH 2/5] qemuDomainBlockPivot: Move check prior to executing the pivot steps

Eric Blake eblake at redhat.com
Wed Mar 11 15:55:47 UTC 2020


On 3/10/20 10:54 AM, Peter Krempa wrote:
> Move the check whether the job is already synchronised to the beginning
> of the function so that we don't try to do some of the steps necessary
> for pivoting prior to actually wanting to pivot.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   src/qemu/qemu_driver.c | 14 +++++++-------
>   1 file changed, 7 insertions(+), 7 deletions(-)
> 

Reviewed-by: Eric Blake <eblake at redhat.com>

-- 
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