acrn-hypervisor/hypervisor/include
Li, Fei1 f769f7457b hv: vlapic: add combined constraint for APICv
Add two functions to combine constraint for APICv:
is_apicv_basic_feature_supported: check the physical platform whether support
"Use TPR shadow", "Virtualize APIC accesses" and "Virtualize x2APIC mode"
is_apicv_advanced_feature_supported: check the physical platform whether support
"APIC-register virtualization", "Virtual-interrupt delivery" and
"Process posted interrupts".

If the physical platform only support APICv basic feature, enable "Use TPR shadow"
and "Virtualize APIC accesses" for xAPIC mode; enable "Use TPR shadow" and
"Virtualize x2APIC mode" for x2APIC. Otherwise, if the physical platform support
APICv advanced feature, enable APICv feature for xAPIC mode and x2APIC mode.

Tracked-On: #1842
Signed-off-by: Li, Fei1 <fei1.li@intel.com>
2019-03-12 20:37:06 +08:00
..
arch/x86 hv: vlapic: add combined constraint for APICv 2019-03-12 20:37:06 +08:00
common hv:cleanup header file for guest folder 2019-02-21 10:38:30 +08:00
debug hv:cleanup header files for debug folder 2019-02-27 11:12:48 +08:00
dm HV: move pci_vdevs[] array from vm.h to vpci.h 2019-03-01 14:12:14 +08:00
lib hv:move several tsc APIs to timer.c 2019-03-07 20:23:22 +08:00
public HV: CAT: support config CAT from acrn_vm_config 2019-02-28 11:22:29 +08:00
hv_debug.h HV: Added Initial support for SEP/SOCWATCH profiling 2018-10-26 13:39:07 +08:00
hypervisor.h hv:move 2 APIs from hypervisor.h to guest_memory.c 2019-02-21 10:38:30 +08:00