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

This commit is contained in:
Alex Zenla 2024-07-09 21:02:53 -07:00 committed by GitHub
parent b2dd4af09b
commit 04401c1d07
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -229,7 +229,7 @@ impl GuestLauncher {
cmdline, cmdline,
uuid, uuid,
owner_domid: 0, owner_domid: 0,
enable_iommu: true, enable_iommu: !request.pcis.is_empty(),
}, },
backend_domid: 0, backend_domid: 0,
name: xen_name, name: xen_name,