]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commit
virsh: Slightly rework cmdDomblklist
authorMichal Privoznik <mprivozn@redhat.com>
Wed, 2 Sep 2015 13:44:41 +0000 (15:44 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Mon, 7 Sep 2015 09:01:11 +0000 (11:01 +0200)
commit0efe8f50651c990319715c5c2a774bb9fb279903
treed8980fbb44b2d945ca2719c48e3978933d57b66a
parentea65fdba7fb43963db3ad88f23120967fc2e901b
virsh: Slightly rework cmdDomblklist

Let's move some variables from an inside loop to global function
declaration header block. It's going to be easier for next
patches. At the same time, order the cleanup calls at the
function's end so it's easier to track which variables are freed
and which not.

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
tools/virsh-domain-monitor.c