From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:33729) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwRJt-00018l-85 for qemu-devel@nongnu.org; Wed, 01 Aug 2012 01:18:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SwRJs-0003kr-BB for qemu-devel@nongnu.org; Wed, 01 Aug 2012 01:18:05 -0400 Received: from mx1.redhat.com ([209.132.183.28]:16006) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SwRJs-0003ki-32 for qemu-devel@nongnu.org; Wed, 01 Aug 2012 01:18:04 -0400 From: Alex Williamson Date: Tue, 31 Jul 2012 23:18:00 -0600 Message-ID: <20120801050241.22163.78549.stgit@bling.home> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] [PATCH 0/3] VFIO-based PCI device assignment for QEMU 1.2 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: aliguori@us.ibm.com Cc: aik@ozlabs.ru, qemu-devel@nongnu.org, kvm@vger.kernel.org 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 Thanks, Alex --- Alex Williamson (3): vfio: Enable vfio-pci and mark supported vfio: vfio-pci device assignment driver vfio: Import vfio kernel header MAINTAINERS | 5 configure | 12 hw/i386/Makefile.objs | 1 hw/vfio_pci.c | 1853 ++++++++++++++++++++++++++++++++++++++++++++ hw/vfio_pci.h | 101 ++ linux-headers/linux/vfio.h | 368 +++++++++ 6 files changed, 2340 insertions(+) create mode 100644 hw/vfio_pci.c create mode 100644 hw/vfio_pci.h create mode 100644 linux-headers/linux/vfio.h