Commit b0163f4319 for qemu.org
commit b0163f43195a8ae6c0f9b5d795548477425de23d
Author: Zhenzhong Duan <zhenzhong.duan@intel.com>
Date: Tue Jan 6 01:13:00 2026 -0500
intel_iommu: Enable host device when x-flts=on in scalable mode
Now that all infrastructures of supporting passthrough device running
with first stage translation are there, enable it now.
Signed-off-by: Zhenzhong Duan <zhenzhong.duan@intel.com>
Reviewed-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Yi Liu <yi.l.liu@intel.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Link: https://lore.kernel.org/qemu-devel/20260106061304.314546-19-zhenzhong.duan@intel.com
Signed-off-by: Cédric Le Goater <clg@redhat.com>
diff --git a/hw/i386/intel_iommu_accel.c b/hw/i386/intel_iommu_accel.c
index 1f068005d8..250232b5a9 100644
--- a/hw/i386/intel_iommu_accel.c
+++ b/hw/i386/intel_iommu_accel.c
@@ -47,9 +47,7 @@ bool vtd_check_hiod_accel(IntelIOMMUState *s, VTDHostIOMMUDevice *vtd_hiod,
return false;
}
- error_setg(errp,
- "host IOMMU is incompatible with guest first stage translation");
- return false;
+ return true;
}
VTDHostIOMMUDevice *vtd_find_hiod_iommufd(VTDAddressSpace *as)