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

@@ -887,7 +887,7 @@ main(int argc, char *argv[])
vm_pause(ctx);
delete_cpu(ctx, BSP);
if (vm_get_suspend_mode() != VM_SUSPEND_RESET)
if (vm_get_suspend_mode() != VM_SUSPEND_FULL_RESET)
break;
vm_deinit_vdevs(ctx);