[libvirt] [PATCH] virsh domiflist: change output
Eric Blake
eblake at redhat.com
Fri Jan 13 15:24:26 UTC 2012
On 01/13/2012 03:41 AM, Taku Izumi wrote:
>
> When using "virsh domifstat" command or "virsh domiftune" command,
> we pass an interface name as a parameter, so interface name is
> important.
>
> "virsh domiflist" output should display interface names
> on the first row.
>
>
> Signed-off-by: Taku Izumi <izumi.taku at jp.fujitsu.com>
> ---
> tools/virsh.c | 9 +++++----
> 1 file changed, 5 insertions(+), 4 deletions(-)
Hmm - type is always guaranteed, while target might be "-". Ultimately,
anyone writing a script based on this information can grab the
appropriate field using a simple awk script. But I don't see any
problem with re-ordering the fields now, since no released version has
the original order, so I went ahead and pushed this.
--
Eric Blake eblake at redhat.com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120113/8e916037/attachment-0001.sig>
More information about the libvir-list
mailing list