Re: [libvirt-users] snapshot troubles

2013-01-23 Thread jurgen . depicker
> > 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 ' [...]' > > So you can try > virsh qemu-monitor-command --hmp DOMINO1-prealloc 'info snapshots' > > and thne delete it wi

Re: [libvirt-users] snapshot troubles

2013-01-23 Thread jurgen . depicker
> Meanwhile, you don't have to use virsh. You could write your own C > program that directly calls virDomainSnapshotDelete() from libvirt.so, > or you could use python bindings. I'm not a python whiz, but I think it > would probably be something like: > > $ python > >>> import libvirt > >>> conn

Re: [libvirt-users] snapshot troubles

2013-01-23 Thread Eric Blake
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 ' [...]' > > So you can try > virsh qemu-monitor-command --h

Re: [libvirt-users] snapshot troubles

2013-01-23 Thread Christian Schmidt
+0100 > From: jurgen.depic...@let.be > To: libvirt-users > Subject: [libvirt-users] snapshot troubles > Message-ID: > > Content-Type: text/plain; charset="us-ascii" > > Dear all, > I created some snapshots, a long time ago, using the xml description &g

Re: [libvirt-users] snapshot troubles

2013-01-22 Thread Eric Blake
On 01/22/2013 09:27 AM, jurgen.depic...@let.be wrote: >> What version of libvirt are you using? And is this within the virsh >> batch mode, or from the command line? > root@VLET3:~# virsh --version > 0.8.3 That explains it. Older virsh had lousy command line handling. > root@VLET3:~# virsh echo

Re: [libvirt-users] snapshot troubles

2013-01-22 Thread jurgen . depicker
> On 01/21/2013 03:43 PM, jurgen.depic...@let.be wrote: > > Dear all, > > I created some snapshots, a long time ago, using the xml description > > option, so the snapshots have a name with a space in it... > > Really a bad choice apparently, since it seems impossible to delete them > > now: I ca

Re: [libvirt-users] snapshot troubles

2013-01-22 Thread Eric Blake
On 01/21/2013 03:43 PM, jurgen.depic...@let.be wrote: > Dear all, > I created some snapshots, a long time ago, using the xml description > option, so the snapshots have a name with a space in it... > Really a bad choice apparently, since it seems impossible to delete them > now: I cannot find how

[libvirt-users] snapshot troubles

2013-01-21 Thread jurgen . depicker
Dear all, I created some snapshots, a long time ago, using the xml description option, so the snapshots have a name with a space in it... Really a bad choice apparently, since it seems impossible to delete them now: I cannot find how to enter the snapshot name properly due to the space. Quotes