mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-19 20:22:46 +00:00
Jmp to vm_exit directly to avoid calling vmlaunch again if vm-entry fails in vmresume
It is possible that the vm-entry fails in vmresume instr under some scenarios. It will pass to next instruction following vmresume. In such case it will call the vmlaunch again. Signed-off-by: Zhao Yakui <yakui.zhao@intel.com>
This commit is contained in:
parent
f4780c0cd4
commit
fe9dfc7842
@ -109,6 +109,9 @@ next:
|
|||||||
/* Execute a VM resume */
|
/* Execute a VM resume */
|
||||||
vmresume
|
vmresume
|
||||||
|
|
||||||
|
/* jump to vm_exit directly when it fails in vmresume */
|
||||||
|
jmp vm_exit
|
||||||
|
|
||||||
vm_launch:
|
vm_launch:
|
||||||
|
|
||||||
/* Execute a VM launch */
|
/* Execute a VM launch */
|
||||||
|
Loading…
Reference in New Issue
Block a user