HomeFreeBSD

x86/xen: use x{2}APIC if virtualized by hardware

Description

x86/xen: use x{2}APIC if virtualized by hardware

Instead of using event channels or hypercalls to deal with IPIs and
NMIs.

Using a hardware virtualized APIC should be faster than using any PV
interface, since the VM exit can be avoided.

Xen exposes whether the domain is using hardware assisted x{2}APIC
emulation in a CPUID bit.

Sponsored by: Citrix Systems R&D

Details

Provenance
roygerAuthored on Jan 13 2022, 1:57 PM
Parents
rGcc68614da823: MFV f83ac37f1e66: libbsdxml (expat) 2.4.3.
Branches
Unknown
Tags
Unknown