[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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

Jano

Attachment: signature.asc
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]