aboutsummaryrefslogtreecommitdiff
path: root/sysemu.h
diff options
context:
space:
mode:
authorLuiz Capitulino <lcapitulino@redhat.com>2011-08-29 16:02:57 -0300
committerLuiz Capitulino <lcapitulino@redhat.com>2011-09-15 16:39:32 -0300
commit9e37b9dc5bf037453e062ee515014875cd05068d (patch)
tree76bc2d70b1db12fe3c9e371fec78c0b003c1da63 /sysemu.h
parent6667b23f300ff08a47a73821ce2fb7f773754969 (diff)
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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysemu.h b/sysemu.h
index 9a2c531465..43ff546f9b 100644
--- a/sysemu.h
+++ b/sysemu.h
@@ -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);