Re: [Libvir] PATCH: 7/16: virsh core commands

2008-02-18 Thread Daniel P. Berrange
On Mon, Feb 18, 2008 at 06:12:47AM -0500, Daniel Veillard wrote: > > +static int > > +cmdPoolDelete(vshControl * ctl, vshCmd * cmd) > > +{ > > +virStoragePoolPtr pool; > > +int ret = TRUE; > > +char *name; > > + > > +if (!vshConnectionUsability(ctl, ctl->conn, TRUE)) > > +re

Re: [Libvir] PATCH: 7/16: virsh core commands

2008-02-18 Thread Daniel Veillard
On Tue, Feb 12, 2008 at 04:34:34AM +, Daniel P. Berrange wrote: > This patch adds new virsh commands for all the libvirt storage APIs > allowing their use from the shell. The style follows that of the > existing domain & network commands, so I won't bother listing them > in great detail. > > T

Re: [Libvir] PATCH: 7/16: virsh core commands

2008-02-11 Thread Daniel P. Berrange
This patch adds new virsh commands for all the libvirt storage APIs allowing their use from the shell. The style follows that of the existing domain & network commands, so I won't bother listing them in great detail. The only complexity is in dealing with the vol-XXX commands. These can accept eit