This enables DDW RTAS-related ioctls in VFIO.

Signed-off-by: Alexey Kardashevskiy <a...@ozlabs.ru>
---
 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


Reply via email to