[libvirt] [PATCH] qemu: blockjob: Fix saving of inactive XML after completed legacy blockjob

Ján Tomko jtomko at redhat.com
Fri May 17 10:49:47 UTC 2019


On Fri, May 17, 2019 at 10:22:16AM +0200, Peter Krempa wrote:
>Commit 0ba9afc6b28 introduced a logic bug where we will never save the

On second glance, that commit still looks okay to me logic-wise.
Commit c257352797 seems to be the culprit here.

>inactive XML after a blockjob as the variable which was determining
>whether to do so is cleared right before. Thus even if we correctly
>modify the inactive state it will be rolled back when libvirtd is
>restarted.
>
>Reported-by: Thomas Stein <hello at himbee.re>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_blockjob.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

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/20190517/dbf2d951/attachment-0001.sig>


More information about the libvir-list mailing list