From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:39741) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCmlB-0000O7-7Z for qemu-devel@nongnu.org; Thu, 31 Jul 2014 05:35:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XCmkx-0003dj-FU for qemu-devel@nongnu.org; Thu, 31 Jul 2014 05:34:52 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:60608) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XCmkw-0003cs-PY for qemu-devel@nongnu.org; Thu, 31 Jul 2014 05:34:39 -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, 31 Jul 2014 19:34:25 +1000 From: Alexey Kardashevskiy Date: Thu, 31 Jul 2014 19:34:14 +1000 Message-Id: <1406799254-25223-11-git-send-email-aik@ozlabs.ru> In-Reply-To: <1406799254-25223-1-git-send-email-aik@ozlabs.ru> References: <1406799254-25223-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [RFC PATCH 10/10] vfio: Enable DDW ioctls to VFIO IOMMU driver 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 This enables DDW RTAS-related ioctls in VFIO. Signed-off-by: Alexey Kardashevskiy --- hw/misc/vfio.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c index 0b9eba0..e7b4d6e 100644 --- a/hw/misc/vfio.c +++ b/hw/misc/vfio.c @@ -4437,6 +4437,10 @@ int vfio_container_ioctl(AddressSpace *as, int32_t groupid, switch (req) { case VFIO_CHECK_EXTENSION: case VFIO_IOMMU_SPAPR_TCE_GET_INFO: + case VFIO_IOMMU_SPAPR_TCE_QUERY: + case VFIO_IOMMU_SPAPR_TCE_CREATE: + case VFIO_IOMMU_SPAPR_TCE_REMOVE: + case VFIO_IOMMU_SPAPR_TCE_RESET: break; default: /* Return an error on unknown requests */ -- 2.0.0