Now that all infrastructures of supporting passthrough device running with stage-1 translation are there, enable it now.
Signed-off-by: Zhenzhong Duan <[email protected]> --- hw/i386/intel_iommu.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c index d2442ff28d..c8375c33f2 100644 --- a/hw/i386/intel_iommu.c +++ b/hw/i386/intel_iommu.c @@ -5219,6 +5219,8 @@ static bool vtd_check_hiod(IntelIOMMUState *s, VTDHostIOMMUDevice *vtd_hiod, "when x-flts=on"); return false; } + + return true; #endif error_setg(errp, "host IOMMU is incompatible with stage-1 translation"); -- 2.47.1
