dm: introduce system/full reset and suspend

Guest has erquirement to support system/full reboot and S3. Which could
trigger different reset path in guest

Signed-off-by: Yin Fengwei <fengwei.yin@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
Yin Fengwei
2018-05-21 16:32:32 +08:00
committed by lijinxia
parent 76662a634f
commit 8d12c06270
6 changed files with 24 additions and 15 deletions

View File

@@ -57,8 +57,10 @@
enum vm_suspend_how {
VM_SUSPEND_NONE,
VM_SUSPEND_RESET,
VM_SUSPEND_SYSTEM_RESET,
VM_SUSPEND_FULL_RESET,
VM_SUSPEND_POWEROFF,
VM_SUSPEND_SUSPEND,
VM_SUSPEND_HALT,
VM_SUSPEND_TRIPLEFAULT,
VM_SUSPEND_LAST