[libvirt] [PATCH 11/25] qemu: blockjob: Save status XML when modifying job state
Ján Tomko
jtomko at redhat.com
Mon Jul 15 13:47:48 UTC 2019
On Fri, Jul 12, 2019 at 06:05:52PM +0200, Peter Krempa wrote:
>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 at redhat.com>
>---
> src/qemu/qemu_blockjob.c | 15 ++++++++++++---
> src/qemu/qemu_blockjob.h | 8 +++++---
> src/qemu/qemu_domain.c | 2 +-
> src/qemu/qemu_driver.c | 8 ++++----
> src/qemu/qemu_migration.c | 2 +-
> src/qemu/qemu_process.c | 4 ++--
> 6 files changed, 25 insertions(+), 14 deletions(-)
>
Reviewed-by: Ján Tomko <jtomko at redhat.com>
Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190715/26cacc05/attachment-0001.sig>
More information about the libvir-list
mailing list