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

Re: [libvirt] [PATCH] virsh domiflist: change output



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

Attachment: signature.asc
Description: OpenPGP digital signature


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