[libvirt] [PATCH 10/25] qemu: domain: Store blockjob data in the status XML

Ján Tomko jtomko at redhat.com
Mon Jul 15 13:46:05 UTC 2019


On Fri, Jul 12, 2019 at 06:05:51PM +0200, Peter Krempa wrote:
>We need to store the block job state in the status XML so that we can
>properly recover any data when reconnecting after startup and also in
>the end to be able to do any transition of the backing chain that
>happened while libvirt was not connected to the monitor.
>
>First step is to note the name, type, state and corresponding disk into
>the status XML.
>
>We also need to make sure that a broken blockjob does not make libvirt
>to lose the VM, thus many of the errors are just mark the job as

d/to/
d/are/

>invalid. Later on we'll cancel all invalid jobs.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_domain.c | 123 +++++++++++++++++++++++++++++++++++++++--
> 1 file changed, 119 insertions(+), 4 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/3700834e/attachment-0001.sig>


More information about the libvir-list mailing list