]> xenbits.xensource.com Git - libvirt.git/commit
qemu: blockstats: Switch to caller allocated hash table
authorPeter Krempa <pkrempa@redhat.com>
Tue, 10 Mar 2015 09:02:40 +0000 (10:02 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 11 Mar 2015 10:28:03 +0000 (11:28 +0100)
commit4f6b6788c455ff9bb8c714beb7887dcab32a75cc
tree36845b3622c4435a31ff26f4bd627a7216ed5138
parent32288fc9b94ea24c9a32a638450942cf7dbb71d6
qemu: blockstats: Switch to caller allocated hash table

Allocate the hash table in the monitor wrapper function instead of the
worker itself so that the text monitor impl that will be added in the
next patch doesn't have to duplicate it.
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h