All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/1] Forward AER errors to guest
@ 2026-07-03 11:13 Satyanarayana K V P
  2026-07-03 11:13 ` [RFC 1/1] vfio/pci: Forward AER errors to guest optionally Satyanarayana K V P
  2026-07-03 13:59 ` [RFC 0/1] Forward AER errors to guest Alex Williamson
  0 siblings, 2 replies; 6+ messages in thread
From: Satyanarayana K V P @ 2026-07-03 11:13 UTC (permalink / raw)
  To: qemu-devel
  Cc: Satyanarayana K V P, Michał Winiarski, Michal Wajdeczko,
	Matthew Brost, Alex Williamson, Cédric Le Goater

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.

Requesting for comments from vfio maintainers and AER experts for this
patch series.

Signed-off-by: Satyanarayana K V P <satyanarayana.k.v.p@intel.com>
Cc: Michał Winiarski <michal.winiarski@intel.com>
Cc: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Cc: Alex Williamson <alex@shazbot.org>
Cc: Cédric Le Goater <clg@redhat.com>

Satyanarayana K V P (1):
  vfio/pci: Forward AER errors to guest optionally

 hw/vfio/pci.c | 80 ++++++++++++++++++++++++++++++++++++++++++++-------
 hw/vfio/pci.h |  1 +
 2 files changed, 70 insertions(+), 11 deletions(-)

-- 
2.43.0



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-07-08  8:24 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-03 11:13 [RFC 0/1] Forward AER errors to guest Satyanarayana K V P
2026-07-03 11:13 ` [RFC 1/1] vfio/pci: Forward AER errors to guest optionally Satyanarayana K V P
2026-07-03 13:59 ` [RFC 0/1] Forward AER errors to guest Alex Williamson
2026-07-07 21:05   ` Michał Winiarski
2026-07-07 22:12     ` Alex Williamson
2026-07-08  8:23       ` Shameer Kolothum Thodi

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.