mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
acrn-dm: add some logs for vm state transition
add logs for vm state transition to help analyze some problems. Tracked-On: #4098 Signed-off-by: Mingqiang Chi <mingqiang.chi@intel.com> Reviewed-by: Yin Fengwei <fengwei.yin@intel.com>
This commit is contained in:
@@ -56,7 +56,7 @@
|
||||
#define IDT_XF 19 /* #XF: SIMD Floating-Point Exception */
|
||||
|
||||
enum vm_suspend_how {
|
||||
VM_SUSPEND_NONE,
|
||||
VM_SUSPEND_NONE = 0,
|
||||
VM_SUSPEND_SYSTEM_RESET,
|
||||
VM_SUSPEND_FULL_RESET,
|
||||
VM_SUSPEND_POWEROFF,
|
||||
|
@@ -100,6 +100,7 @@ int vm_destroy_ioreq_client(struct vmctx *ctx);
|
||||
int vm_attach_ioreq_client(struct vmctx *ctx);
|
||||
int vm_notify_request_done(struct vmctx *ctx, int vcpu);
|
||||
void vm_clear_ioreq(struct vmctx *ctx);
|
||||
const char *vm_state_to_str(enum vm_suspend_how idx);
|
||||
void vm_set_suspend_mode(enum vm_suspend_how how);
|
||||
#ifdef DM_DEBUG
|
||||
void notify_vmloop_thread(void);
|
||||
|
Reference in New Issue
Block a user