Received: from eggs.gnu.org ([2001:4830:134:3::10]:42680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGlOO-0005aK-1S for qemu-devel@nongnu.org; Thu, 29 Jan 2015 04:28:14 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YGlO8-0004KP-4A for qemu-devel@nongnu.org; Thu, 29 Jan 2015 04:28:03 -0500 Received: from e23smtp03.au.ibm.com ([202.81.31.145]:38780) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YGlO7-0004Gn-5U for qemu-devel@nongnu.org; Thu, 29 Jan 2015 04:27:47 -0500 Received: from /spool/local by e23smtp03.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 29 Jan 2015 19:27:43 +1000 From: Alexey Kardashevskiy Date: Thu, 29 Jan 2015 20:27:26 +1100 Message-Id: <1422523650-2888-15-git-send-email-aik@ozlabs.ru> In-Reply-To: <1422523650-2888-1-git-send-email-aik@ozlabs.ru> References: <1422523650-2888-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH v4 14/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/vfio/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/vfio/common.c b/hw/vfio/common.c index c08f9ab..1cafcf8 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -1045,6 +1045,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