acrn-hypervisor/hypervisor/include
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
..
arch/x86/asm hv: nested: enable multiple active VMCS12 support 2021-09-26 08:49:35 +08:00
common hv: add priority based scheduler 2021-09-24 09:32:18 +08:00
debug hv: debug: Add hv console callback to VM-exit event 2021-07-22 10:08:23 +08:00
dm hv: mmiodev: a minor bug fix about refine acrn_mmiodev data structure 2021-08-19 12:01:35 +08:00
hw hv: pci: fix a minor bug about is_pci_cfg_multifunction 2021-09-15 13:24:18 +08:00
lib hv: Move uuid_is_equal to util.h 2021-08-26 09:24:50 +08:00
public hv && config-tool: Rename GUEST_FLAG_TPM2_FIXUP 2021-08-26 09:24:50 +08:00