fix(runtime): use iommu only if devices are needed (#243)

This commit is contained in:
alex authored and GitHub committed 2024-07-10 04:02:53 +00:00
1 parent b2dd4af09b
commit 04401c1d07
1 file changed
+1 -1
+1 -1
View File
@@ -229,7 +229,7 @@ impl GuestLauncher {
cmdline,
uuid,
owner_domid: 0,
enable_iommu: true,
enable_iommu: !request.pcis.is_empty(),
},
backend_domid: 0,
name: xen_name,