[libvirt] [PATCH] virsh: Honour -q in domblklist, vcpupin and emulatorpin
Martin Kletzander
mkletzan at redhat.com
Wed Feb 26 13:01:34 UTC 2014
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 at redhat.com>
> ---
> tools/virsh-domain-monitor.c | 14 +++++++-------
> tools/virsh-domain.c | 10 +++++-----
> 2 files changed, 12 insertions(+), 12 deletions(-)
>
ACK
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140226/7f2a599c/attachment-0001.sig>
More information about the libvir-list
mailing list