From: Zhenzhong Duan Date: Tue, 6 Jan 2026 06:13:00 +0000 (-0500) Subject: intel_iommu: Enable host device when x-flts=on in scalable mode X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b0163f43195a8ae6c0f9b5d795548477425de23d;p=thirdparty%2Fqemu.git 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 Reviewed-by: Eric Auger Reviewed-by: Yi Liu Reviewed-by: Michael S. Tsirkin Link: https://lore.kernel.org/qemu-devel/20260106061304.314546-19-zhenzhong.duan@intel.com Signed-off-by: Cédric Le Goater --- 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)