• Alex Williamson's avatar
    vfio: Add PCI device driver · 89e1f7d4
    Alex Williamson authored
    Add PCI device support for VFIO.  PCI devices expose regions
    for accessing config space, I/O port space, and MMIO areas
    of the device.  PCI config access is virtualized in the kernel,
    allowing us to ensure the integrity of the system, by preventing
    various accesses while reducing duplicate support across various
    userspace drivers.  I/O port supports read/write access while
    MMIO also supports mmap of sufficiently sized regions.  Support
    for INTx, MSI, and MSI-X interrupts are provided using eventfds to
    userspace.
    Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
    89e1f7d4
vfio_pci.c 14.3 KB