acrn-hypervisor/hypervisor/include/arch/x86/asm
Zide Chen 45b036e028 hv: nested: enable multiple active VMCS12 support
This patch changes the size of vvmcs[] array from 1 to
PER_VCPU_ACTIVE_VVMCS_NUM, and actually enables multiple active VMCS12
support in ACRN.  The basic operations:

- if L1 VMPTRLDs a VMCS12 without previously VMCLEAR the current
  VMCS12, ACRN no longer unconditionally flushes the current VMCS12
  back to L1.  Instead, it tries to keep both the current and the newly
  loaded VMCS12 in the nested->vvmcs[] array, unless:

- if there is no more available vvmcs[] entry, ACRN flushes one active
  VMCS12 to make room for this new VMCS12.

Tracked-On: #6289
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2021-09-26 08:49:35 +08:00
..
boot
guest hv: nested: enable multiple active VMCS12 support 2021-09-26 08:49:35 +08:00
lib
apicreg.h hv: vlapic: wrap a function to calculate destination vcpu mask by shorthand 2021-05-24 10:27:32 +08:00
board.h
cpu_caps.h HV: re-use split-lock emulation code for uc-lock 2021-07-21 11:25:47 +08:00
cpu.h hv: Pass-through IA32_TSC_AUX MSR to L1 guest 2021-08-26 09:25:54 +08:00
cpufeatures.h
cpuid.h
default_acpi_info.h
e820.h hv: Enlarge E820_MAX_ENTRIES to 64 2021-06-09 10:07:05 +08:00
gdt.h
host_pm.h hv: dm: Use new power management data structures 2021-07-15 11:53:54 +08:00
idt.h
init.h
io.h
ioapic.h
irq.h hv: dm: Use new I/O request data structures 2021-07-15 11:53:54 +08:00
lapic.h
mmu.h hv: cache: wrap common APIs 2021-05-14 09:18:00 +08:00
msr.h HV: re-use split-lock emulation code for uc-lock 2021-07-21 11:25:47 +08:00
notify.h
page.h hv: use per platform maximum physical address width 2021-08-20 11:02:21 +08:00
pci_dev.h
per_cpu.h hv: add priority based scheduler 2021-09-24 09:32:18 +08:00
pgtable.h hv: ivshmem: map SHM BAR with PAT ignored 2021-08-13 11:17:15 +08:00
platform_caps.h
rdt.h hv: some cosmetic fixes to rdt.c/rdt.h 2021-09-17 16:29:05 +08:00
rtcm.h hv: update RTCT ACPI table detecting 2021-06-01 08:22:20 +08:00
rtct.h hv: update RTCT parser to support RTCT version 2 2021-05-17 17:19:11 +08:00
security.h
seed.h
sgx.h
trampoline.h
tsc.h doc: update timer HLD doc after modularization 2021-06-09 17:11:25 -04:00
vm_config.h hv: add priority based scheduler 2021-09-24 09:32:18 +08:00
vmx.h hv: Use 64 bits definition for 64 bits MSR_IA32_VMX_EPT_VPID_CAP operation 2021-07-02 09:24:12 +08:00
vtd.h
zeropage.h HV: place kernel and ramdisk by find_space_from_ve820() 2021-06-11 10:06:02 +08:00