[libvirt] [PATCH 01/10] qemu: snapshot: Don't modify persistent XML if disk source is different

Ján Tomko jtomko at redhat.com
Wed Aug 21 15:28:48 UTC 2019


On Fri, Aug 16, 2019 at 03:54:35PM +0200, Peter Krempa wrote:
>While the VM is running the persistent source of a disk might differ
>e.g. as the 'newDef' was redefined. Our snapshot code would blindly
>rewrite the source of such disk if it shared the 'target'. Fix this by
>checking whether the source is the same in the first place.
>
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_driver.c | 12 ++++++------
> 1 file changed, 6 insertions(+), 6 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/20190821/80d48bf1/attachment-0001.sig>


More information about the libvir-list mailing list