mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
add a new runstate: RUN_STATE_GUEST_PANICKED
The guest will be in this state when it is panicked. Signed-off-by: Wen Congyang <wency@cn.fujitsu.com> Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Message-id: 0255f263ffdc2a3716f73e89098b96fd79a235b3.1366945969.git.hutao@cn.fujitsu.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
cffc5113a4
commit
ede085b3fe
4 changed files with 17 additions and 5 deletions
|
@ -22,6 +22,7 @@ int qemu_uuid_parse(const char *str, uint8_t *uuid);
|
|||
bool runstate_check(RunState state);
|
||||
void runstate_set(RunState new_state);
|
||||
int runstate_is_running(void);
|
||||
bool runstate_needs_reset(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