[libvirt] [PATCH v4 2/3] virsh: Implement new table API for virsh list

Michal Privoznik mprivozn at redhat.com
Thu Aug 23 13:19:38 UTC 2018


On 08/22/2018 07:42 PM, Simon Kobyda wrote:
> Instead of printing it straight in virsh, it creates table struct
> which is filled with header and rows(domains). It allows us to know
> more about table before printing to calculate alignment right.
> 
> Signed-off-by: Simon Kobyda <skobyda at redhat.com>
> ---
>  tests/virshtest.c            | 14 ++++++------
>  tools/virsh-domain-monitor.c | 43 ++++++++++++++++++++----------------
>  2 files changed, 31 insertions(+), 26 deletions(-)

ACK

Michal




More information about the libvir-list mailing list