From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:39981) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUBiA-0001QO-Oo for qemu-devel@nongnu.org; Mon, 22 Apr 2013 04:03:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UUBi9-0006fe-Lo for qemu-devel@nongnu.org; Mon, 22 Apr 2013 04:02:54 -0400 Received: from mail-pd0-f181.google.com ([209.85.192.181]:57176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UUBi9-0006fR-FR for qemu-devel@nongnu.org; Mon, 22 Apr 2013 04:02:53 -0400 Received: by mail-pd0-f181.google.com with SMTP id y10so3371133pdj.40 for ; Mon, 22 Apr 2013 01:02:52 -0700 (PDT) From: Alexey Kardashevskiy Date: Mon, 22 Apr 2013 18:02:34 +1000 Message-Id: <1366617757-6604-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH 0/3 QEMU v4] vfio on ppc64 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Alex Williamson Cc: Alexey Kardashevskiy , qemu-ppc@nongnu.org, qemu-devel@nongnu.org, David Gibson Yes, we are still tuning this stuff for us :) Changes: * new "spapr-pci-vfio-host-bridge" device is introduced (inherits from spapr-pci-host-bridge); * device#1->group->container->device#2,.. creation scheme is changed to group->container->devices scheme (on ppc64); * removed vfio_iommu_spapr_tce_dma_map/vfio_iommu_spapr_tce_dma_unmap as they are not really necessary now and it does not look like we will need them in the nearest future. Comments? Alexey Kardashevskiy (3): vfio: make some of VFIO API public vfio: add support for spapr platform (powerpc64 server) spapr vfio: add spapr-pci-vfio-host-bridge to support vfio hw/misc/vfio.c | 94 ++++++++++++++++++++-- hw/ppc/spapr_iommu.c | 151 +++++++++++++++++++++++++++-------- hw/ppc/spapr_pci.c | 186 +++++++++++++++++++++++++++++++++++++++++-- include/hw/misc/vfio.h | 20 +++++ include/hw/pci-host/spapr.h | 12 +++ include/hw/ppc/spapr.h | 3 + trace-events | 4 + 7 files changed, 422 insertions(+), 48 deletions(-) create mode 100644 include/hw/misc/vfio.h -- 1.7.10.4