diff options
author | Luiz Capitulino | 2011-08-29 21:02:57 +0200 |
---|---|---|
committer | Luiz Capitulino | 2011-09-15 21:39:32 +0200 |
commit | 9e37b9dc5bf037453e062ee515014875cd05068d (patch) | |
tree | 76bc2d70b1db12fe3c9e371fec78c0b003c1da63 /sysemu.h | |
parent | Monitor/QMP: Don't allow cont on bad VM state (diff) | |
download | qemu-9e37b9dc5bf037453e062ee515014875cd05068d.tar.gz qemu-9e37b9dc5bf037453e062ee515014875cd05068d.tar.xz qemu-9e37b9dc5bf037453e062ee515014875cd05068d.zip |
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); |