[libvirt] [PATCH] Added --pool support to virsh vol-key, plus improved help descriptions for vol-key, vol-name, & vol-path.

Justin Clift justin at salasaga.org
Sun Jun 6 10:13:17 UTC 2010


On 06/06/2010 07:54 PM, Justin Clift wrote:
> ---
> tools/virsh.c | 19 +++++++++----------
> 1 files changed, 9 insertions(+), 10 deletions(-)

This patch improves the help descriptions for vol-key, vol-name, and 
vol-path.

From:

   vol-path        convert a vol UUID to vol path
   vol-name        convert a vol UUID to vol name
   vol-key         convert a vol UUID to vol key

To:

   vol-path        returns the volume path for a given volume name or key
   vol-name        returns the volume name for a given volume key or path
   vol-key         returns the volume key for a given volume name or path

Additionally, because the vol-key command didn't previously support 
being given a --pool <string> vol_name argument, this patch adds that too.

As a bonus, it seems to address this existing Red Hat BZ #:

   https://bugzilla.redhat.com/show_bug.cgi?id=598365

Regards and best wishes,

Justin Clift

-- 
Salasaga  -  Open Source eLearning IDE
               http://www.salasaga.org




More information about the libvir-list mailing list