Messages in this thread | | | From | "Pandarathil, Vijaymohan R" <> | Subject | [PATCH 0/2] AER-KVM: Error containment of VFIO devices assigned to KVM guests | Date | Wed, 9 Jan 2013 06:26:09 +0000 |
| |
Add support for error containment when a VFIO device assigned to a KVM guest encounters an error. This is for PCIe devices/drivers that support AER functionality. When the host OS is notified of an error in a device either through the firmware first approach or through an interrupt handled by the AER root port driver, the error handler registered by the vfio-pci driver gets invoked. The qemu process is signaled through an eventfd registered per VFIO device by the qemu process. In the eventfd handler, qemu decides on what action to take. In this implementation, guest is brought down to contain the error.
--- Vijay Mohan Pandarathil(2):
[PATCH 1/2] VFIO-AER: Vfio-pci driver changes for supporting AER [PATCH 2/2] QEMU-AER: Qemu changes to support AER for VFIO-PCI devices
Kernel files changed
drivers/vfio/pci/vfio_pci.c | 29 +++++++++++++++++++++++++++++ drivers/vfio/pci/vfio_pci_private.h | 1 + drivers/vfio/vfio.c | 8 ++++++++ include/linux/vfio.h | 1 + include/uapi/linux/vfio.h | 9 +++++++++ 5 files changed, 48 insertions(+)
Qemu files changed
hw/vfio_pci.c | 56 ++++++++++++++++++++++++++++++++++++++++++++++ linux-headers/linux/vfio.h | 9 ++++++++ 2 files changed, 65 insertions(+)
| |