Re: [PATCH] virsh: Honour -q in domblklist, vcpupin and emulatorpin

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

 



On Wed, Feb 26, 2014 at 01:25:09PM +0100, Michal Privoznik wrote:
> If user wants to grep some info from domain, e.g. disk paths:
>
>     # virsh -q domblklist win7 | awk '{print $2}'
>     Source
>
>     /var/lib/libvirt/images/windows.qcow2
>     /home/zippy/work/tmp/en_windows_7_professional_x64_dvd_X15-65805.iso
>
> while with my change:
>
>     # virsh -q domblklist win7 | awk '{print $2}'
>     /var/lib/libvirt/images/windows.qcow2
>     /home/zippy/work/tmp/en_windows_7_professional_x64_dvd_X15-65805.iso
>
> We don't print table header in other commands, like list.
>
> Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
> ---
>  tools/virsh-domain-monitor.c | 14 +++++++-------
>  tools/virsh-domain.c         | 10 +++++-----
>  2 files changed, 12 insertions(+), 12 deletions(-)
>

ACK

Martin

Attachment: signature.asc
Description: 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]