avocado-framework / avocado-vt

Avocado VT Plugin
https://avocado-vt.readthedocs.org/
Other
84 stars 243 forks source link

qemu_vm: introduce amd-iommu #4015

Open luckyh opened 2 weeks ago

luckyh commented 2 weeks ago

Introduce amd-iommu device to guests. Configuration example:

vm_iommu_model = amd
iommu_$foo = ...
iommu_$bar = ...

ID: 2926

XueqiangWei commented 22 hours ago

@JinLiul Can you help review it? Many thanks.

JinLiul commented 20 hours ago

Hi @luckyh , there is a conflict between the amd-iommu device and the PCIe slot. qemu-kvm: -device {"id": "pcie-root-port-0", "driver": "pcie-root-port", "multifunction": true, "bus": "pcie.0", "addr": "0x1", "chassis": 1}: PCI: slot 1 function 0 not available for pcie-root-port, in use by AMDVI-PCI,id=(null)