History

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.

Vijay Mohan Pandarathil committed 13 years ago

Commit dad9f891 parent 44f50714 files · +109 −1Browse files

Showing the changes to include/uapi/linux (1 of 4 files). Show all

Unified · Split

include/uapi/linux/vfio.h+1−0
@@ -319,6 +319,7 @@ enum { · 318 unmodified lines
319319 VFIO_PCI_INTX_IRQ_INDEX,
320320 VFIO_PCI_MSI_IRQ_INDEX,
321321 VFIO_PCI_MSIX_IRQ_INDEX,
322+ VFIO_PCI_ERR_IRQ_INDEX,
322323 VFIO_PCI_NUM_IRQS
323324 };
324325

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t