[libvirt] [PATCH v3 3/4] qemu: block: store the delete flag in libvirtd's status XML
Peter Krempa
pkrempa at redhat.com
Tue Dec 3 14:07:21 UTC 2019
On Thu, Nov 21, 2019 at 11:00:46 +0100, Pavel Mores wrote:
> Since blockcommit is asynchronous, libvirtd can be restarted while the
> operation runs. To ensure the information necessary to finish up the job
> is not lost, serialisation to and deserialisation from the status XML is
> added.
>
> To unittest this, the new element was only added to the active commit test,
> the non-active commit test doesn't have the new element so as to test its
> absence.
>
> Signed-off-by: Pavel Mores <pmores at redhat.com>
> ---
> src/qemu/qemu_domain.c | 4 ++++
> tests/qemustatusxml2xmldata/blockjob-blockdev-in.xml | 1 +
> 2 files changed, 5 insertions(+)
Reviewed-by: Peter Krempa <pkrempa at redhat.com>
More information about the libvir-list
mailing list