[libvirt PATCH] qemu_snapshot: external: don't error out when updating metadata

Ján Tomko jtomko at redhat.com
Mon Mar 27 10:56:11 UTC 2023


On a Monday in 2023, Pavel Hrdina wrote:
>Attaching disk into running VM the offilne definition may not be
>updated and we will end up with that disk existing only in live
>definition. Creating snapshot with this state saves both live and
>offline definition into snapshot metadata.
>
>When we are deleting an external snapshot we are updating these
>definitions in the snapshot metadata so we should just skip over
>non-existing disks instead of reporting error.
>
>Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2174700
>
>Signed-off-by: Pavel Hrdina <phrdina at redhat.com>
>---
> src/qemu/qemu_snapshot.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 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: 228 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20230327/3931594f/attachment.sig>


More information about the libvir-list mailing list