Hi all,

The following two patches add a new "--details" option flag to the virsh pool-list and vol-list commands.

Adding these because trying to get sizing information for large numbers of pools or volumes is presently difficult, having to run the pool-info or vol-info command on each one individually.

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 has been rewritten
   from the first submission.  If the --details option is not specified,
   then the output is exactly as it has been historically, with only
   name and path info and the same fixed column widths.  If the
   --details option is given now, additional info is shown and all
   column widths are sized to their widest string.

   Additionally the code in the 2nd version of the second patch is
   cleaner structured than the first version.

Decent examples 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

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to