Re: [PATCH] virsh domiflist: change output

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxx>
> ---
>  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@xxxxxxxxxx    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]