diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-09-12 17:54:20 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-10-04 11:02:57 -0300 |
commit | 1fa9a5e4aea36b4d21e42323ae43879c908af576 (patch) | |
tree | c9e8bb26d83383227fc37b3686f2365424bc83cc /qmp-commands.hx | |
parent | 0461d5a699cb8825039400b76839115e35b73d65 (diff) | |
download | qemu-1fa9a5e4aea36b4d21e42323ae43879c908af576.zip qemu-1fa9a5e4aea36b4d21e42323ae43879c908af576.tar.gz qemu-1fa9a5e4aea36b4d21e42323ae43879c908af576.tar.bz2 |
qapi: Convert query-status
Please, note that the RunState type as defined in sysemu.h and its
runstate_as_string() function are being dropped in favor of the
RunState type generated by the QAPI.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'qmp-commands.hx')
-rw-r--r-- | qmp-commands.hx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/qmp-commands.hx b/qmp-commands.hx index 9f9751d..afa95bd 100644 --- a/qmp-commands.hx +++ b/qmp-commands.hx @@ -1609,6 +1609,12 @@ Example: <- { "return": { "running": true, "singlestep": false, "status": "running" } } EQMP + + { + .name = "query-status", + .args_type = "", + .mhandler.cmd_new = qmp_marshal_input_query_status, + }, SQMP query-mice |