[RFC PATCH 01/16] qemu: checkpoint: Store whether deleted checkpoint is current in a variable

Eric Blake eblake at redhat.com
Fri Jan 24 16:50:19 UTC 2020


On 1/9/20 12:21 PM, Peter Krempa wrote:
> Avoid two computations by using a boolean.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   src/qemu/qemu_checkpoint.c | 5 +++--
>   1 file changed, 3 insertions(+), 2 deletions(-)
> 
> diff --git a/src/qemu/qemu_checkpoint.c b/src/qemu/qemu_checkpoint.c

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