mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-05-31 03:15:42 +00:00
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> |
||
---|---|---|
.. | ||
assign.c | ||
ept.c | ||
guest_memory.c | ||
instr_emul.c | ||
io_emul.c | ||
pm.c | ||
trusty.c | ||
ucode.c | ||
vcpu.c | ||
vcpuid.c | ||
virq.c | ||
virtual_cr.c | ||
vlapic_priv.h | ||
vlapic.c | ||
vm.c | ||
vmcall.c | ||
vmcs.c | ||
vmexit.c | ||
vmsr.c | ||
vmtrr.c | ||
vmx_asm.S |