Re: VCPUOP_send_nmi returns -38

From: Roger Pau Monné <roger.pau_at_citrix.com>
Date: Tue, 11 Jan 2022 10:26:15 UTC
On Tue, Jan 11, 2022 at 12:07:28PM +0200, Andriy Gapon wrote:
> On 11/01/2022 11:50, Andriy Gapon wrote:
> > 
> > Recently I got a report of crashes related to using procstat -k on one
> > of our systems.  The system runs FreeBSD 12.2 on an AWS Xen-based
> > instance (can get more specifics about it later).
> 
> The instance type is t2.large.
> Here are all lines from verbose boot that mention Xen:
> 
> XEN: Hypervisor version 4.2 detected.
> Disabling MSI-X interrupt migration due to Xen hypervisor bug.
> XEN: disabling emulated disks
> XEN: disabling emulated nics
> Hypervisor: Origin = "XenVMMXenVMM"
> x2APIC available but disabled due to running under XEN

Thanks. I've asked someone at AWS for comments. I guess the only way
to workaround this is to switch back to using the emulated APIC. I
will try to prepare a patch later.

Roger.