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 | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hw/i386/intel_iommu.c b/hw/i386/intel_iommu.c index e7c662f609..c64bd9506e 100644 --- a/hw/i386/intel_iommu.c +++ b/hw/i386/intel_iommu.c @@ -5608,8 +5608,7 @@ static bool vtd_check_hiod(IntelIOMMUState *s, VTDHostIOMMUDevice *vtd_hiod, ret = hiodc->get_cap(hiod, HOST_IOMMU_DEVICE_CAP_ERRATA, errp); vtd_hiod->errata = ret; - error_setg(errp, "host device is uncompatible with stage-1 translation"); - return false; + return true; } static bool vtd_dev_set_iommu_device(PCIBus *bus, void *opaque, int devfn, -- 2.34.1