[libvirt] [PATCH] virsh: fix domifaddr no output in quiet mode

Michal Privoznik mprivozn at redhat.com
Fri Apr 3 10:27:14 UTC 2015


On 03.04.2015 11:41, Luyao Huang wrote:
> All of print function use vshPrintExtra in cmdDomIfAddr, this will
> make domifaddr no output in quiet mode, after this patch, quiet mode
> output will be:
> 
>   # virsh -q domifaddr test3 --source agent
>   lo         00:00:00:00:00:00    ipv4         127.0.0.1/8
>   -          -                    ipv6         ::1/128
>   ens8       52:54:00:1a:cb:3f    ipv6         fe80::5054:ff:fe1a:cb3f/64
>   virbr0     52:54:00:db:51:e7    ipv4         192.168.122.1/24
>   virbr0-nic 52:54:00:db:51:e7    N/A          N/A
> 
> 
> Signed-off-by: Luyao Huang <lhuang at redhat.com>
> ---
>  tools/virsh-domain-monitor.c | 16 ++++++++--------
>  1 file changed, 8 insertions(+), 8 deletions(-)
> 

I've reworded the commit message, ACKed and pushed.

Michal




More information about the libvir-list mailing list