diff options
author | Vijay Mohan Pandarathil <vijaymohan.pandarathil@hp.com> | 2013-03-11 09:31:22 -0600 |
---|---|---|
committer | Alex Williamson <alex.williamson@redhat.com> | 2013-03-11 09:31:22 -0600 |
commit | dad9f8972e04cd081a028d8fb1249d746d97fc03 (patch) | |
tree | 8f3f6bbfa41f3a60853007e33846d6fac2b139ea /fs | |
parent | 44f507163d9e51238458ee6904b4d71fb0723723 (diff) |
VFIO-AER: Vfio-pci driver changes for supporting AER
- New VFIO_SET_IRQ ioctl option to pass the eventfd that is signaled when
an error occurs in the vfio_pci_device
- Register pci_error_handler for the vfio_pci driver
- When the device encounters an error, the error handler registered by
the vfio_pci driver gets invoked by the AER infrastructure
- In the error handler, signal the eventfd registered for the device.
- This results in the qemu eventfd handler getting invoked and
appropriate action taken for the guest.
Signed-off-by: Vijay Mohan Pandarathil <vijaymohan.pandarathil@hp.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'fs')
0 files changed, 0 insertions, 0 deletions