[libvirt] [PATCH] qemu: Fix regression with undefine --snapshots-metadata

Peter Krempa pkrempa at redhat.com
Fri May 10 14:52:25 UTC 2019


On Fri, May 10, 2019 at 09:42:05 -0500, Eric Blake wrote:
> In refactoring the snapshot code to prepare for checkpoints, I changed
> qemuDomainMomentDiscardAll to take a callback that would handle the
> cleanup of either a snapshot or a checkpoint, but failed to set the
> callback on one of the two snapshot callers.  As a result, 'virsh
> undefine $dom --snapshots-metadata' crashed on a NULL function
> dereference.
> 
> Fixes: a487890d371b8cc3662c1717dfe07eea3f1ef1c0
> Signed-off-by: Eric Blake <eblake at redhat.com>
> ---
>  src/qemu/qemu_domain.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)

ACK
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20190510/342318e0/attachment-0001.sig>


More information about the libvir-list mailing list