[libvirt-users] snapshot troubles

Eric Blake eblake at redhat.com
Wed Jan 23 12:46:34 UTC 2013


On 01/23/2013 01:04 AM, Christian Schmidt wrote:
> Hi Juergen,
> 
> if you are using kvm/qemu with libvirt you can try to delete the
> snapshot with the qemu monitor commands. 
> The general syntax is 
> virsh qemu-monitor-command --hmp <domain> '<command> [...]'
> 
> So you can try
> virsh qemu-monitor-command --hmp DOMINO1-prealloc 'info snapshots'
> 
> and thne delete it with the provided snapshot ID 
> virsh qemu-monitor-command --hmp DOMINO1-prealloc 'delvm <ID>'
> 
> This will delete the snapshot from your diskimage.

Yeah, but that won't delete it from libvirt's memory.  Using
qemu-monitor-command to go behind libvirt's back is unsupported, and in
this particular case, is likely to lead to a case where you can make
libvirtd segfault.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20130123/ac77c6d2/attachment.sig>


More information about the libvirt-users mailing list