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

2018-08-10 Thread Michal Privoznik
On 08/10/2018 11:11 AM, 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 > --- > tools/vir

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

2018-08-10 Thread Simon Kobyda
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 --- tools/virsh-domain-monitor.c | 39 ++---