From 1fa9a5e4aea36b4d21e42323ae43879c908af576 Mon Sep 17 00:00:00 2001 From: Luiz Capitulino Date: Mon, 12 Sep 2011 17:54:20 -0300 Subject: 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 Signed-off-by: Luiz Capitulino --- qmp-commands.hx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'qmp-commands.hx') diff --git a/qmp-commands.hx b/qmp-commands.hx index 9f9751d1c3..afa95bd93a 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 -- cgit v1.2.3