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

2014-03-04 Thread Eric Blake
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. ---

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

2014-03-03 Thread Peter Krempa
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. This changes the error in case the user-selected pool is