[libvirt] [PATCH 1/4] qemu: Always save status XML in qemuDomainBlockJobAbort

Ján Tomko jtomko at redhat.com
Thu Feb 7 11:30:40 UTC 2019

On Thu, Jan 31, 2019 at 02:43:47PM +0100, Peter Krempa wrote:
>For copy and active commit jobs we record the state of the mirror so
>that we can recover. The status XML was not saved in case of
>qemuDomainBlockPivot due to an oversight.
>Save the XML always when invoking qemuDomainBlockJobAbort even if
>the job is not currently tracking any state. This will change later and
>also this is not a particularly hot code path.
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
> src/qemu/qemu_driver.c | 11 ++---------
> 1 file changed, 2 insertions(+), 9 deletions(-)

Reviewed-by: Ján Tomko <jtomko at redhat.com>

-------------- 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/20190207/c8869db6/attachment-0001.sig>

More information about the libvir-list mailing list