]> xenbits.xensource.com Git - libvirt.git/commit
virsh: Implement new table API for virsh list
authorSimon Kobyda <skobyda@redhat.com>
Thu, 23 Aug 2018 15:53:42 +0000 (17:53 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Fri, 24 Aug 2018 08:53:20 +0000 (10:53 +0200)
commit2e97450425e85146e8eb45172c93fa2c5d217a77
tree2edcfa38aba53049d3f8d9c8ae05b12f0244da85
parent9417f0b3f66454c6e55c1ee0212c1c6d17626f77
virsh: Implement new table API for virsh list

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@redhat.com>
tests/virshtest.c
tools/virsh-domain-monitor.c