On Tue, Dec 10, 2019 at 17:25:40 +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(a)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(a)redhat.com>