Skip to content

Commit 113adea

Browse files
fyin1wenlingz
authored andcommitted
hv: not start vm automatically when reset vm
For UOS, there is no BSP init state saved in hv. We always need DM to set BSP init state by using hypercall. So we can't auto start vm during vm reset. Tracked-On: #1231 Signed-off-by: Yin Fengwei <fengwei.yin@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
1 parent b454a06 commit 113adea

File tree

1 file changed

+0
-1
lines changed
  • hypervisor/arch/x86/guest

1 file changed

+0
-1
lines changed

hypervisor/arch/x86/guest/vm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,6 @@ int reset_vm(struct vm *vm)
315315
destroy_secure_world(vm, false);
316316
vm->sworld_control.flag.active = 0UL;
317317

318-
start_vm(vm);
319318
return 0;
320319
}
321320

0 commit comments

Comments
 (0)