[libvirt] [PATCH v3 2/4] qemuMonitorJSONBlockStatsUpdateCapacity: Don't skip disks

Peter Krempa pkrempa at redhat.com
Tue Dec 2 16:14:21 UTC 2014


On 12/02/14 17:13, Michal Privoznik wrote:
> The function queries the block devices visible to qemu
> ('query-block') and parses the qemu's output. The info is
> returned in a hash table which is expected to be pre-filled by
> qemuMonitorJSONGetAllBlockStatsInfo(). However, in the next patch
> we are not going to call the latter function at all, so we should
> make the former function add devices into the hash table if not
> found there.
> 
> Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
> ---
>  src/qemu/qemu_monitor_json.c | 14 ++++++++++----
>  1 file changed, 10 insertions(+), 4 deletions(-)
> 

ACK


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20141202/95fc8104/attachment-0001.sig>


More information about the libvir-list mailing list