mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-02 20:35:32 +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> |
||
---|---|---|
.. | ||
boot | ||
configs | ||
guest | ||
cat.c | ||
cpu_caps.c | ||
cpu_state_tbl.c | ||
cpu.c | ||
e820.c | ||
gdt.c | ||
idt.S | ||
init.c | ||
ioapic.c | ||
irq.c | ||
Kconfig | ||
lapic.c | ||
mmu.c | ||
notify.c | ||
page.c | ||
pagetable.c | ||
pm.c | ||
retpoline-thunk.S | ||
sched.S | ||
security.c | ||
static_checks.c | ||
timer.c | ||
trampoline.c | ||
vmx.c | ||
vtd.c | ||
wakeup.S |