From caf0bff7cecba95fff8195df84bebb61f7e5942f Mon Sep 17 00:00:00 2001 From: Minwoo Im Date: Wed, 11 Mar 2026 20:40:37 +0900 Subject: [PATCH] iommu/vfio: extend iommu group 256 In some of testing environment such as SR-IOV, VFs can be created with each one of isolated iommu group for each VF. This patch extended the number of maximum IOMMU groups from 64 to 256 to cover recent PCI device supports SR-IOV. Signed-off-by: Minwoo Im --- src/iommu/vfio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/iommu/vfio.c b/src/iommu/vfio.c index 6f4bea3..f146ebe 100644 --- a/src/iommu/vfio.c +++ b/src/iommu/vfio.c @@ -65,7 +65,7 @@ struct vfio_container { int fd; -#define VFN_MAX_VFIO_GROUPS 64 +#define VFN_MAX_VFIO_GROUPS 256 struct vfio_group groups[VFN_MAX_VFIO_GROUPS]; int nr_groups;