[libvirt] [PATCH] virsh: Fix error message on vol-create-from failure

Eric Blake eblake at redhat.com
Fri Oct 28 03:32:21 UTC 2011


On 10/26/2011 04:18 AM, Wenyi Gao wrote:
> On Mon, 2011-10-24 at 20:44 +0900, Ryota Ozaki wrote:
>> If vol-create-from is failed due to 'input volume not found',
>> virsh outputs like this:
>>    $ sudo virsh vol-create-from testpool test-vol.xml test.img
>>    error: failed to get vol 'test.img', specifying --pool might help
>>    error: Storage volume not found: no storage vol with matching path
>> However, '--pool' is incorrect because it is already specified as
>> second argument ('testpool' in this case). It should be "--inputpool".
>>

>
> Tested-by Wenyi Gao<wenyi at linux.vnet.ibm.com>

ACK and pushed.

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




More information about the libvir-list mailing list