]> git.ipfire.org Git - thirdparty/libvirt.git/commit
qemu: monitor: Factor out and document code to format QMP command
authorPeter Krempa <pkrempa@redhat.com>
Tue, 20 Feb 2018 16:56:46 +0000 (17:56 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Wed, 23 May 2018 11:18:25 +0000 (13:18 +0200)
commita6178a66106bd5a6dfcd4c3520fe10215eed0c63
tree0ce1313459944b271cc212d88575c8df24e7ae15
parente969af4cec6f3f3443e420a5005667f4e6cb709d
qemu: monitor: Factor out and document code to format QMP command

Move formatting of the qemu command out of qemuMonitorJSONMakeCommandRaw
to qemuMonitorJSONMakeCommandInternal to allow greater reusability and
document the function better.

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: John Ferlan <jferlan@redhat.com>
src/qemu/qemu_monitor_json.c