[libvirt] [PATCH 2/3] virsh: add snapshot-create-as command

Eric Blake eblake at redhat.com
Thu Jun 16 12:50:49 UTC 2011


On 06/16/2011 02:00 AM, Daniel Veillard wrote:
>> +    if (vshCommandOptString(cmd, "name", &name) < 0 ||
>> +        vshCommandOptString(cmd, "description", &desc) < 0) {
>> +        vshError(ctl, _("argument must not be argument"));
> 
>   ??? if that's right that's a very cryptic one :-)

Argument must not be empty.

virsh snapshot-create-as domain --name ''

doesn't work.  (Don't know what I was thinking as I typed yesterday :)

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20110616/52e28e3a/attachment-0001.sig>


More information about the libvir-list mailing list