[PATCH] qemuProcessSetupDisksTransientSnapshot: Skip enabling transientOverlayCreated flag

Peter Krempa pkrempa at redhat.com
Tue Jun 1 06:31:39 UTC 2021


On Thu, May 27, 2021 at 12:55:12 -0400, Masayoshi Mizuma wrote:
> From: Masayoshi Mizuma <m.mizuma at jp.fujitsu.com>
> 
> QEMU_DOMAIN_DISK_PRIVATE(disk)->transientOverlayCreated flag
> gets true unexpectedly on qemuProcessSetupDisksTransientSnapshot() when
> the disk has <transient shareBacking='yes'> option.
> 
> The flag should be enabled on qemuDomainAttachDiskGeneric() after the
> overlay setup is completed.
> 
> Skip enabling transientOverlayCreated for the disk here.
> 
> Fixes: 75871da0ecb8b552f9e304d0f83e216839bbf82d
> Signed-off-by: Masayoshi Mizuma <m.mizuma at jp.fujitsu.com>
> ---
>  src/qemu/qemu_process.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

Reviewed-by: Peter Krempa <pkrempa at redhat.com> 

and pushed.




More information about the libvir-list mailing list