]> xenbits.xensource.com Git - libvirt.git/commit
qemu: monitor: Add support for 'write-blocking' copy mode for blockdev-mirror
authorPeter Krempa <pkrempa@redhat.com>
Tue, 30 Nov 2021 19:22:46 +0000 (20:22 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 7 Dec 2021 08:00:39 +0000 (09:00 +0100)
commit7d773a77ffec06defc11f6ffade0fa00bcbf9dfe
tree5a83fa3870ce03d7e078a3a754f4a9e59a7c6f6e
parent701c8c24678ce053733f6d0cd9084a14ef9d69a3
qemu: monitor: Add support for 'write-blocking' copy mode for blockdev-mirror

Forces the data to be written synchronously to both the original and the
mirrored images which ensures that the job will reach synchronized
phase.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
tests/qemumonitorjsontest.c