[libvirt] [PATCHv4 1/2] virsh: add new --details option to pool-list
Eric Blake
eblake at redhat.com
Tue Jun 22 18:35:32 UTC 2010
On 06/22/2010 12:24 PM, Hugh O. Brock wrote:
>> Correct, we shouldn't change this behaviour - it'll break apps parsing
>> the output
>
> FWIW Rich Jones complains that the output as it stands is nigh on
> unparseable anyway. Perhaps we should consider that a bug, and fix
> it...
The new --details option is our chance to change output - it outputs
whatever format we want, because it is a new flag; Rich, do you have any
preferences about what it _should_ output?
Here's what pool-list --details would currently do, if we applied
Justin's patch as-is (modulo no line wrapping added by my email client):
virsh # pool-list --details --all
Name State Autostart Persistent Capacity Allocation Available
---------------------------------------------------------------------------
default running yes yes 1.79 TB 1.49 TB 304.77 GB
image_dir running yes yes 1.79 TB 1.49 TB 304.77 GB
tmp inactive no yes - - -
--
Eric Blake eblake at redhat.com +1-801-349-2682
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100622/7138cf98/attachment-0001.sig>
More information about the libvir-list
mailing list