Re: VCPUOP_send_nmi returns -38
- In reply to: Roger Pau Monné : "Re: VCPUOP_send_nmi returns -38"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 13 Jan 2022 15:29:21 UTC
On 13/01/2022 16:57, Roger Pau Monné wrote: > I've got two patches for you to try, the first one is 'mni-fix.patch' > and should fix the NMI sending issue. > > I'm also attaching a second patch, that should allow your guest to use > x2APIC. FreeBSD has previously prevented Xen guests from using x2APIC > because of a bug in old Xen versions, but I think this should be > solved now, so if FreeBSD can successfully boot on your VM with the > patch applied I think we are safe to enable x2APIC. That one is called > 'x2apic.patch'. > > Let me know how the testing goes. Tested both patches, both jointly and independently. x2APIC mode gets successfully enabled: # sysctl hw.apic hw.apic.timer_tsc_deadline: 0 hw.apic.eoi_suppression: 0 hw.apic.x2apic_mode: 1 hw.apic.enable_extint: 0 Not seeing any obvious regressions when running with it. NMIs are successfully sent and delivered now as well. Thank you very much! -- Andriy Gapon