On Fri, Jul 3, 2026, at 5:13 AM, Satyanarayana K V P wrote:
> Today, vfio-pci unconditionally stops the VM when any error event is
> reported by device. This prevents guest-driven error handling and recovery
> for platforms that support PCIe AER.
>
> This series adds an optional vfio-pci extension parameter,
> "x-forward-aer=on", to forward AER errors to the guest instead of
> forcing an immediate VM stop. If the endpoint supports AER, the error is
> forwarded directly; otherwise, checks the upstream PCIe bridge and
> forwards the error there when supported.If neither device nor PCIe bridge
> supports AER, the VM is immediately stopped when the error is reported.

The error eventfd is signaled for err_detected in the host, this is the 
beginning of the host error handling and the point at which drivers should stop 
accessing the device until the resume callback.  Letting the VMM continue at 
this point does the opposite of that.  Thanks,

Alex

Reply via email to