diff options
Diffstat (limited to 'include/sysemu/runstate.h')
-rw-r--r-- | include/sysemu/runstate.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/sysemu/runstate.h b/include/sysemu/runstate.h index c3f445d..f3ed525 100644 --- a/include/sysemu/runstate.h +++ b/include/sysemu/runstate.h @@ -34,7 +34,13 @@ static inline bool shutdown_caused_by_guest(ShutdownCause cause) } void vm_start(void); -int vm_prepare_start(void); + +/** + * vm_prepare_start: Prepare for starting/resuming the VM + * + * @step_pending: whether any of the CPUs is about to be single-stepped by gdb + */ +int vm_prepare_start(bool step_pending); int vm_stop(RunState state); int vm_stop_force_state(RunState state); int vm_shutdown(void); |