From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59758) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIEVR-0001Jv-GG for qemu-devel@nongnu.org; Fri, 15 Aug 2014 06:13:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XIEV9-0001Cn-DS for qemu-devel@nongnu.org; Fri, 15 Aug 2014 06:13:09 -0400 Received: from e23smtp06.au.ibm.com ([202.81.31.148]:38548) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XIEV8-0001B6-LG for qemu-devel@nongnu.org; Fri, 15 Aug 2014 06:12:51 -0400 Received: from /spool/local by e23smtp06.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 15 Aug 2014 20:12:48 +1000 From: Alexey Kardashevskiy Date: Fri, 15 Aug 2014 20:12:34 +1000 Message-Id: <1408097555-28126-13-git-send-email-aik@ozlabs.ru> In-Reply-To: <1408097555-28126-1-git-send-email-aik@ozlabs.ru> References: <1408097555-28126-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [RFC PATCH v2 12/13] 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 , Alexander Graf , Gavin Shan , Alex Williamson , qemu-ppc@nongnu.org, David Gibson 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 ba08adb..5b95cfa 100644 --- a/hw/misc/vfio.c +++ b/hw/misc/vfio.c @@ -4453,6 +4453,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