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

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



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 redhat com>
> ---
>  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


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