mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-07 01:33:56 -06:00
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>
This commit is contained in:
parent
6667b23f30
commit
9e37b9dc5b
4 changed files with 43 additions and 3 deletions
1
sysemu.h
1
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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue