From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:40969) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsQZK-0006tb-7b for qemu-devel@nongnu.org; Thu, 05 Jun 2014 01:50:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WsQZ5-0006wb-8c for qemu-devel@nongnu.org; Thu, 05 Jun 2014 01:50:30 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:49652) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WsQZ4-0006uS-FZ for qemu-devel@nongnu.org; Thu, 05 Jun 2014 01:50:15 -0400 Received: from /spool/local by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 5 Jun 2014 15:50:09 +1000 From: Alexey Kardashevskiy Date: Thu, 5 Jun 2014 15:49:57 +1000 Message-Id: <1401947401-21329-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH v7 0/4] vfio on spapr-ppc64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Alexey Kardashevskiy , Alex Williamson , qemu-ppc@nongnu.org, Alexander Graf , Gavin Shan Yet another try with VFIO on SPAPR (server PPC64). This adds VFIO support on SPAPR for the existing VFIO-SPAPR-TCE driver in the upstream kernel. Individual patches have more detailed commit logs. While patch #1 is questionable, others are pretty much ready to but I do not know via which maintainer tree - Alex or Alex? :) Please comment. Thanks! Changes: v7: * cleaned and rebased on agraf/ppc-next tree (which is on its way to upstream) v6: * initial set was split into 3 v5: * rebase on top of the current upstream v4: * addressed all comments from Alex Williamson * moved spapr-pci-phb-vfio-phb to new file * split spapr-pci-phb-vfio to many smaller patches Alexey Kardashevskiy (4): spapr_iommu: Make in-kernel TCE table optional vfio: Add vfio_container_spapr_get_info() spapr_pci_vfio: Add spapr-pci-vfio-host-bridge to support vfio vfio: Enable for spapr hw/misc/vfio.c | 64 +++++++++++++++++++++++++++++++ hw/ppc/Makefile.objs | 3 ++ hw/ppc/spapr_iommu.c | 6 ++- hw/ppc/spapr_pci.c | 2 +- hw/ppc/spapr_pci_vfio.c | 93 +++++++++++++++++++++++++++++++++++++++++++++ hw/ppc/spapr_vio.c | 2 +- include/hw/misc/vfio.h | 11 ++++++ include/hw/pci-host/spapr.h | 11 ++++++ include/hw/ppc/spapr.h | 4 +- 9 files changed, 191 insertions(+), 5 deletions(-) create mode 100644 hw/ppc/spapr_pci_vfio.c create mode 100644 include/hw/misc/vfio.h -- 2.0.0