]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: blockjob: Save status XML when modifying job state
authorPeter Krempa <pkrempa@redhat.com>
Wed, 15 May 2019 08:58:42 +0000 (10:58 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Thu, 18 Jul 2019 15:59:34 +0000 (17:59 +0200)
commit4cc4357f3e23e8a6a2d39f2df219fd106398eee8
treeff61e8db5e462d5c456cd5e2601d8a1e4adc662d
parentd3158852fa2c7b75f39e2f9b6ad8e91d1df11517
qemu: blockjob: Save status XML when modifying job state

Now that block job data is stored in the status XML portion we need to
make sure that everything which changes the state also saves the status
XML. The job registering function is used while parsing the status XML
so in that case we need to skip the XML saving.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_blockjob.c
src/qemu/qemu_blockjob.h
src/qemu/qemu_domain.c
src/qemu/qemu_driver.c
src/qemu/qemu_migration.c
src/qemu/qemu_process.c