]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Add a qemuMonitorGetCommands() method for QMP query-commands command
authorDaniel P. Berrange <berrange@redhat.com>
Wed, 22 Aug 2012 09:25:20 +0000 (10:25 +0100)
committerDaniel P. Berrange <berrange@redhat.com>
Thu, 27 Sep 2012 10:04:32 +0000 (11:04 +0100)
commitc70a6154b648aa2fb9f18b6e56adfa4e7b2c558a
tree8550bcac0e5a5504e8ec67f7a3f49ec4e43ee613
parent2ecec6e2064c7ae6ec236cd9d392fa9c46390f84
Add a qemuMonitorGetCommands() method for QMP query-commands command

Add a new qemuMonitorGetCPUCommands() method to support invocation
of the 'query-commands' JSON monitor command. No HMP equivalent
is required, since this will only be used when JSON is available

The existing qemuMonitorJSONCheckCommands() method is refactored
to use this new method

Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
src/qemu/qemu_monitor.c
src/qemu/qemu_monitor.h
src/qemu/qemu_monitor_json.c
src/qemu/qemu_monitor_json.h
tests/qemumonitorjsontest.c