For now, for vfio pci passthough devices when qemu receives an error from host aer report, there just terminate the guest, but usually user want to know what error occured but stop the guest, so this patch add aer capability support for vfio device, and pass the error to guest, and have guest driver to recover from the error.
Chen Fan (4): pcie_aer: fix typos in pcie_aer_inject_error comment pcie-aer: Fix command pcie_aer_inject_error is invalid vfio-pci: add aer capability support vfio-pci: pass the aer error to guest hw/pci/pcie_aer.c | 11 +++---- hw/vfio/pci.c | 75 ++++++++++++++++++++++++++++++++++++++++++----- include/hw/pci/pcie_aer.h | 3 +- 3 files changed, 76 insertions(+), 13 deletions(-) -- 1.9.3