]> xenbits.xensource.com Git - libvirt.git/commit
qemu: monitor: Convert common code to a macro
authorPeter Krempa <pkrempa@redhat.com>
Tue, 10 Mar 2015 13:32:46 +0000 (14:32 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 11 Mar 2015 10:28:04 +0000 (11:28 +0100)
commit4d8ebb7a3511388185a97469b612f49c72a03002
treeee8715faa6dd34d878d59c1e364f157740b97851
parentf6563bc36159c04af84e9f3da213e7d5a4c2f890
qemu: monitor: Convert common code to a macro

The function that is extracting block stats data from the QMP monitor
reply contains a lot of repeated code. Since I'd be changing each of the
copies in the next patch, lets convert it to a macro right away.
src/qemu/qemu_monitor_json.c