[PATCH] qemu: snapshot: Translate 'volume' disks before attempting offline snapshot manipulation

Ján Tomko jtomko at redhat.com
Wed Aug 25 13:27:00 UTC 2021


On a Wednesday in 2021, Peter Krempa wrote:
>When the VM is inactive the 'virStorageSource' struct doesn't have the
>necessary data pointing to the actual storage. This is a problem for
>inactive snapshot operations on VMs which use disk type='volume'.
>
>Add the translation steps for reversion and deletion of snapshots.
>
>Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1977155
>Resolves: https://gitlab.com/libvirt/libvirt/-/issues/202
>Signed-off-by: Peter Krempa <pkrempa at redhat.com>
>---
> src/qemu/qemu_domain.c   | 6 ++++++
> src/qemu/qemu_snapshot.c | 7 +++++++
> 2 files changed, 13 insertions(+)
>

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/20210825/01d0ebaa/attachment-0001.sig>


More information about the libvir-list mailing list