acrn-hypervisor/hypervisor/include
Zide Chen 2bd269c11c hv: nested: support for VMCLEAR emulation
This patch is to emulate VMCLEAR instruction.

L1 hypervisor issues VMCLEAR on a VMCS12 whose state could be any of
these: active and current, active but not current, not yet VMPTRLDed.

To emulate the VMCLEAR instruction, ACRN sets the VMCS12 launch state to
"clear", and if L0 already cached this VMCS12, need to sync it back to
guest memory:

- sync shadow fields from shadow VMCS VMCS to cache VMCS12
- copy cache VMCS12 to L1 guest memory

Tracked-On: #5923
Signed-off-by: Sainath Grandhi <sainath.grandhi@intel.com>
Signed-off-by: Zide Chen <zide.chen@intel.com>
2021-05-24 10:34:01 +08:00
..
arch/x86/asm hv: nested: support for VMCLEAR emulation 2021-05-24 10:34:01 +08:00
common hv/mod_timer: refine timer interface 2021-05-18 16:43:28 +08:00
debug hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
dm hv: PTM: Create virtual root port 2021-05-19 13:54:24 +08:00
hw hv: PTM: Create virtual root port 2021-05-19 13:54:24 +08:00
lib hv: bugfix in min() and max() MACROs 2021-04-23 09:58:21 +08:00
public dm: PTM: Add virtual root port to vm 2021-05-19 13:54:24 +08:00