Now that all infrastructures of supporting passthrough device running
with stage-1 translation are there, enable it now.

Signed-off-by: Zhenzhong Duan <zhenzhong.d...@intel.com>
---
 hw/i386/intel_iommu.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c
index 165998896c..1df861ba90 100644
--- a/hw/i386/intel_iommu.c
+++ b/hw/i386/intel_iommu.c
@@ -5597,6 +5597,7 @@ static bool vtd_check_hiod(IntelIOMMUState *s, 
VTDHostIOMMUDevice *vtd_hiod,
     }
 
     vtd_hiod->errata = vtd->flags & IOMMU_HW_INFO_VTD_ERRATA_772415_SPR17;
+    return true;
 #endif
 
     error_setg(errp, "host device is uncompatible with stage-1 translation");
-- 
2.34.1


Reply via email to