Files
acrn-hypervisor/hypervisor/include/arch/x86
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
..
2019-02-28 11:22:29 +08:00
2019-02-22 13:14:36 +08:00
2019-01-07 11:23:22 +08:00
2019-02-22 13:14:36 +08:00
2019-01-21 13:49:54 +08:00
2019-02-21 10:38:30 +08:00
2019-02-27 11:12:48 +08:00
2019-02-21 10:38:30 +08:00
2018-12-19 09:07:14 +08:00
2019-03-07 20:23:22 +08:00
2019-03-01 10:32:49 +08:00
2019-02-01 16:49:39 +08:00