diff options
author | Luiz Capitulino <lcapitulino@redhat.com> | 2011-08-29 16:02:57 -0300 |
---|---|---|
committer | Luiz Capitulino <lcapitulino@redhat.com> | 2011-09-15 16:39:32 -0300 |
commit | 9e37b9dc5bf037453e062ee515014875cd05068d (patch) | |
tree | 76bc2d70b1db12fe3c9e371fec78c0b003c1da63 /sysemu.h | |
parent | 6667b23f300ff08a47a73821ce2fb7f773754969 (diff) | |
download | hqemu-9e37b9dc5bf037453e062ee515014875cd05068d.zip hqemu-9e37b9dc5bf037453e062ee515014875cd05068d.tar.gz |
QMP: query-status: Introduce 'status' key
This new key reports the current VM status to clients. Please, check
the documentation being added in this commit for more details.
Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
Diffstat (limited to 'sysemu.h')
-rw-r--r-- | sysemu.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -39,6 +39,7 @@ void runstate_init(void); bool runstate_check(RunState state); void runstate_set(RunState new_state); int runstate_is_running(void); +const char *runstate_as_string(void); typedef struct vm_change_state_entry VMChangeStateEntry; typedef void VMChangeStateHandler(void *opaque, int running, RunState state); |