
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