v3: - Incorporate feedback from Anthony, Avi, and Jan (Thank you!) I've also added a new tag to my github tree, so those who have already reviewed can check the delta by comparing: git://github.com/awilliam/qemu-vfio.git tags/vfio-pci-for-qemu-1.2 tags/vfio-pci-for-qemu-1.2-v2 tags/vfio-pci-for-qemu-1.2-v3 Blue Swirl already offered an Ack-by for previous version, I'll hope, but won't assume that carries forward. Original description below with updated tag. Thanks, Alex VFIO kernel support was just merged into Linux, so I'd like to formally propose inclusion of the QEMU vfio-pci driver for QEMU 1.2. Included here is support for x86 PCI device assignment. PCI INTx is not yet enabled, but devices making use of either MSI or MSI-X work. The level irqfd and eoifd support I've proposed for KVM enable an accelerated patch for this through KVM. I'd like to get this base driver in first and enable the remaining support in-tree. I've split this version up a little from the RFC to make it a bit easier to review. Review comments from Blue Swirl and Avi are already incorporated, including Avi's requests to simplify both the PCI BAR mapping and unmapping paths. This series is also available at: git://github.com/awilliam/qemu-vfio.git tags/vfio-pci-for-qemu-1.2-v3 Thanks, Alex --- Alex Williamson (4): vfio: Enable vfio-pci and mark supported vfio: vfio-pci device assignment driver Update Linux kernel headers Update kernel header script to include vfio MAINTAINERS | 5 configure | 6 hw/i386/Makefile.objs | 1 hw/vfio_pci.c | 1870 +++++++++++++++++++++++++++++++++++++ hw/vfio_pci_int.h | 112 ++ linux-headers/asm-s390/kvm.h | 2 linux-headers/asm-s390/kvm_para.h | 2 linux-headers/asm-x86/kvm.h | 1 linux-headers/asm-x86/kvm_para.h | 7 linux-headers/linux/kvm.h | 3 linux-headers/linux/vfio.h | 368 +++++++ scripts/update-linux-headers.sh | 2 12 files changed, 2376 insertions(+), 3 deletions(-) create mode 100644 hw/vfio_pci.c create mode 100644 hw/vfio_pci_int.h create mode 100644 linux-headers/linux/vfio.h -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html