From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:53395) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNJAp-0002rf-0w for qemu-devel@nongnu.org; Fri, 29 Aug 2014 06:13:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XNJAd-0001k2-5K for qemu-devel@nongnu.org; Fri, 29 Aug 2014 06:12:50 -0400 Received: from e23smtp01.au.ibm.com ([202.81.31.143]:45785) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XNJAc-0001hb-HC for qemu-devel@nongnu.org; Fri, 29 Aug 2014 06:12:39 -0400 Received: from /spool/local by e23smtp01.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 29 Aug 2014 20:12:36 +1000 From: Alexey Kardashevskiy Date: Fri, 29 Aug 2014 20:12:21 +1000 Message-Id: <1409307142-2600-18-git-send-email-aik@ozlabs.ru> In-Reply-To: <1409307142-2600-1-git-send-email-aik@ozlabs.ru> References: <1409307142-2600-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [RFC PATCH v3 17/18] 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 , David Gibson This enables DDW RTAS-related ioctls in VFIO. Signed-off-by: Alexey Kardashevskiy --- hw/misc/vfio.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/misc/vfio.c b/hw/misc/vfio.c index 40dcaa6..fa90c93 100644 --- a/hw/misc/vfio.c +++ b/hw/misc/vfio.c @@ -4450,6 +4450,8 @@ 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_CREATE: + case VFIO_IOMMU_SPAPR_TCE_REMOVE: break; default: /* Return an error on unknown requests */ -- 2.0.0