[libvirt] [PATCH 1/4] qemu: Always save status XML in qemuDomainBlockJobAbort
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...
Size: 488 bytes
Desc: not available
More information about the libvir-list