Received: from eggs.gnu.org ([2001:4830:134:3::10]:38324) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygap1-0005ZV-5X for qemu-devel@nongnu.org; Fri, 10 Apr 2015 11:26:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ygaoy-0006SU-Gr for qemu-devel@nongnu.org; Fri, 10 Apr 2015 11:26:19 -0400 Received: from e23smtp09.au.ibm.com ([202.81.31.142]:40767) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ygaox-0006R8-Qz for qemu-devel@nongnu.org; Fri, 10 Apr 2015 11:26:16 -0400 Received: from /spool/local by e23smtp09.au.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Sat, 11 Apr 2015 01:26:14 +1000 From: Alexey Kardashevskiy Date: Sat, 11 Apr 2015 01:24:44 +1000 Message-Id: <1428679484-15451-16-git-send-email-aik@ozlabs.ru> In-Reply-To: <1428679484-15451-1-git-send-email-aik@ozlabs.ru> References: <1428679484-15451-1-git-send-email-aik@ozlabs.ru> Subject: [Qemu-devel] [PATCH qemu v6 15/15] 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: Michael Roth , 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/vfio/common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/vfio/common.c b/hw/vfio/common.c index 9e3e0b0..f915127 100644 --- a/hw/vfio/common.c +++ b/hw/vfio/common.c @@ -830,6 +830,8 @@ int vfio_container_ioctl(AddressSpace *as, case VFIO_CHECK_EXTENSION: case VFIO_IOMMU_SPAPR_TCE_GET_INFO: case VFIO_EEH_PE_OP: + case VFIO_IOMMU_SPAPR_TCE_CREATE: + case VFIO_IOMMU_SPAPR_TCE_REMOVE: break; default: /* Return an error on unknown requests */ -- 2.0.0