[libvirt] [PATCHv2 1/7] virsh: volume: Fix lookup of volumes to provide better error messages

Eric Blake eblake at redhat.com
Wed Mar 5 03:50:28 UTC 2014


On 03/03/2014 09:05 AM, Peter Krempa wrote:
> If a user specifies the pool explicitly, we should make sure to point
> out that it's inactive instead of falling back to lookup by key/path and
> failing at the end. Also if the pool isn't found there's no use in
> continuing the lookup.
> 

> ---
>  tools/virsh-volume.c | 12 ++++++++++--
>  1 file changed, 10 insertions(+), 2 deletions(-)

Nice message improvements.

ACK

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

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


More information about the libvir-list mailing list