Files
cloud-hypervisor/vmm
Rob Bradford 7c5b66b2c0 vmm: device_manager: Disallow removal of iommu attached devices
If a device is attached to the iommu individually (not behind an iommu
backed segment) then we shouldn't allow its removal as the static VIOT
ACPI table establishes which devices (or whole segments) are behind the
IOMMU. After a removal that would be incorrect.

An alternative that was considered was to "block" the BDF from being
used for another PCI device that was hotplugged unless it was also IOMMU
attached that however feels unncessary complex when the primary purpose
of the vIOMMU backing is for nested device testing.

Signed-off-by: Rob Bradford <rbradford@meta.com>
2026-07-29 14:58:08 +00:00
..
2026-06-10 21:29:40 +00:00