[libvirt] [PATCH 11/12] qemu: Add blockdev support for the block copy job

Ján Tomko jtomko at redhat.com
Thu Aug 15 12:03:50 UTC 2019


On Thu, Aug 08, 2019 at 06:00:41PM +0200, Peter Krempa wrote:
>Implement job handling for the block copy job (drive/blockdev-mirror)
>when using -blockdev. In contrast to the previously implemented
>blockjobs the block copy job introduces new images to the running qemu
>instance, thus requires a bit more handling.
>
>When copying to new images the code now makes use of blockdev-create to
>format the images explicitly rather than depending on automagic qemu
>behaviour.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_blockjob.c                      | 87 +++++++++++++++++
> src/qemu/qemu_blockjob.h                      | 16 +++
> src/qemu/qemu_domain.c                        | 13 +++
> src/qemu/qemu_driver.c                        | 97 ++++++++++++++++---
> .../blockjob-blockdev-in.xml                  | 14 +++
> 5 files changed, 216 insertions(+), 11 deletions(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190815/82995f4b/attachment-0001.sig>


More information about the libvir-list mailing list