From: Zhenzhong Duan <[email protected]> Now that all infrastructures of supporting passthrough device running with first stage translation are there, enable it now.
Signed-off-by: Zhenzhong Duan <[email protected]> Reviewed-by: Eric Auger <[email protected]> Reviewed-by: Yi Liu <[email protected]> Reviewed-by: Michael S. Tsirkin <[email protected]> Link: https://lore.kernel.org/qemu-devel/[email protected] Signed-off-by: Cédric Le Goater <[email protected]> --- hw/i386/intel_iommu_accel.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/i386/intel_iommu_accel.c b/hw/i386/intel_iommu_accel.c index 1f068005d8fa8b2161247e1e2386db5a60dbbdc5..250232b5a979e9b34d161fde554fd0c64b0cd3d9 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) -- 2.52.0
