This enables DDW RTAS-related ioctls in VFIO. Signed-off-by: Alexey Kardashevskiy <a...@ozlabs.ru> --- 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