]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: driver: Allow using blockdev with qemuDomainBlocksStatsGather
authorPeter Krempa <pkrempa@redhat.com>
Tue, 19 Jun 2018 13:38:11 +0000 (15:38 +0200)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 21 Aug 2018 13:46:06 +0000 (15:46 +0200)
commit6d736e292c62e2c6500d6dcda3c97319202ddc89
tree922e659cbea358302f5f4b1fb4fd84b5cb4d4fc1
parent49510e4191d96b82751e2b6792c2c0f3bd3fa627
qemu: driver: Allow using blockdev with qemuDomainBlocksStatsGather

Use the 'qdev' instead of the disk alias to lookup the stats and
transfer the capacity from the appropriate node name so that the
function works with -blockdev.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
src/qemu/qemu_driver.c