]> xenbits.xensource.com Git - libvirt.git/commit
virsh: Set up cmdDomblkinfo() and cmdDomblkinfoPrint() for vshTable API implementation
authorSimon Kobyda <skobyda@redhat.com>
Fri, 21 Sep 2018 14:17:17 +0000 (16:17 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 24 Sep 2018 07:09:14 +0000 (09:09 +0200)
commitb9057c639f57f168256a51d7e2c2a69a8da3086b
tree29999ddf0dab2e45d7fbc3be7c4be204d7642bad
parentb0b1ed2f7b3871676b826d9d8292baf4ac38a2b5
virsh: Set up cmdDomblkinfo() and cmdDomblkinfoPrint() for vshTable API implementation

I've moved all the printing from cmdDomblkinfoPrint() to cmdDomblkinfo(),
and renamed the cmdDomblkinfoPrint() to cmdDomblkinfoGet(), since nature of
that function changed from gathering and printing informations only to
gathering information. This I believe simplifies the functions and
makes the implementation of vshTable API simpler.

Signed-off-by: Simon Kobyda <skobyda@redhat.com>
tools/virsh-domain-monitor.c