[libvirt] [PATCH 0/2] virsh: add new --details option flag to pool-list and vol-list

Justin Clift justin at salasaga.org
Wed Jun 16 12:27:43 UTC 2010


Hi all,

The following two patches add a new "--details" option flag to the virsh 
pool-list and vol-list commands. (with virsh.pod entries too)

The reason for adding them, is that when using virsh for any length of 
time it's gets painful having to use pool-info and vol-info on (70+) 
individual volumes, just to get basic info. :/

This shows the required info much more easily. :)

  + The first patch is for the pool-list command, and was pretty
    straightforward.

  + The second patch is for the vol-list command, and was a pain due to
    adding support for multi-line output when long path and name strings
    were involved.  (if there be dragons, they'd be here ;> )

Decent example of the output from each command are in their email comments.

Open for suggestions and better ideas of course. :)

Regards and best wishes,

Justin Clift

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




More information about the libvir-list mailing list