freebsd-dev/sys/x86/xen
Roger Pau Monné b2802351c1 xen: fix dispatching of NMIs
Currently NMIs are sent over event channels, but that defeats the
purpose of NMIs since event channels can be masked. Fix this by
issuing NMIs using a hypercall, which injects a NMI (vector #2) to the
desired vCPU.

Note that NMIs could also be triggered using the emulated local APIC,
but using a hypercall is better from a performance point of view
since it doesn't involve instruction decoding when not using x2APIC
mode.

Reported and Tested by:	avg
Sponsored by:		Citrix Systems R&D
2019-11-12 10:31:28 +00:00
..
hvm.c
pv.c
pvcpu_enum.c
xen_apic.c
xen_intr.c
xen_msi.c
xen_nexus.c
xen_pci_bus.c
xenpv.c