[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 linux vnet ibm com>

ACK and pushed.

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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]