[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [RFC PATCH v2 12/13] vfio: Enable DDW ioctls to VFIO IOMMU dr
From: |
Alexey Kardashevskiy |
Subject: |
[Qemu-ppc] [RFC PATCH v2 12/13] vfio: Enable DDW ioctls to VFIO IOMMU driver |
Date: |
Fri, 15 Aug 2014 20:12:34 +1000 |
This enables DDW RTAS-related ioctls in VFIO.
Signed-off-by: Alexey Kardashevskiy <address@hidden>
---
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
- Re: [Qemu-ppc] [RFC PATCH v2 02/13] spapr_iommu: Disable in-kernel IOMMU tables for >4GB windows, (continued)