[PATCH] qemuCheckpointCreateXML: Check VM liveness first

Eric Blake eblake at redhat.com
Thu Mar 26 17:13:52 UTC 2020


On 3/26/20 12:08 PM, Peter Krempa wrote:
> Move the liveness check prior to the capability check. If the VM is
> offline the capabilities are not initialized and thus we'd report the
> wrong error.
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=1812531
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   src/qemu/qemu_checkpoint.c | 8 ++++----
>   1 file changed, 4 insertions(+), 4 deletions(-)

We just did the same thing for CheckpointDelete :)

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