[PATCH v2 03/19] qemu: block: implement helpers for blockdev-reopen

Eric Blake eblake at redhat.com
Wed Mar 11 19:16:05 UTC 2020


On 3/11/20 7:55 AM, Peter Krempa wrote:
> Introduce a set of helpers to call blockdev-reopen in certain scenarios
> 
> Libvirt will use the QMP command to turn certain members of the backing
> chain read-write for bitmap manipulation and we'll also want to use it
> to replace/install the backing chain of a qcow2 format node.
> 
> Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> ---
>   src/qemu/qemu_block.c | 101 ++++++++++++++++++++++++++++++++++++++++++
>   src/qemu/qemu_block.h |   9 ++++
>   2 files changed, 110 insertions(+)
> 

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