No description
Find a file
Daniel Kral dc52c006ce fix #6608: expose viommu driver aw-bits option
Since QEMU 9.2 [0], the default I/O address space bit width was raised
from 39 bits to 48 bits for the Intel vIOMMU driver, which makes the
aw-bits check introduced in [1] to trip for host CPUs with less than 48
bits physical address width from QEMU 9.2 onwards:

vfio 0000:XX:YY.Z: Failed to set vIOMMU: aw-bits 48 > host aw-bits 39

For VFIO devices where a vIOMMU is in-use, QEMU fetches the IOVA ranges
with the iommufd ioctl IOMMU_IOAS_IOVA_RANGES or the vfio_iommu_type1's
VFIO_IOMMU_TYPE1_INFO_CAP_IOVA_RANGE info, so 'phys-bits' doesn't change
the behavior of the check.

Therefore, expose the 'aw-bits' option of the intel-iommu and
virtio-iommu QEMU drivers to allow users to set the value.

[0] qemu ddd84fd0c1 ("intel_iommu: Set default aw_bits to 48 starting from QEMU 9.2")
[1] qemu 77f6efc0ab ("intel_iommu: Check compatibility with host IOMMU capabilities")

Signed-off-by: Daniel Kral <d.kral@proxmox.com>
Link: https://lore.proxmox.com/20250905141529.215689-1-d.kral@proxmox.com
2025-09-08 10:09:48 +02:00
debian bump version to 9.0.20 2025-09-04 19:49:31 +02:00
src fix #6608: expose viommu driver aw-bits option 2025-09-08 10:09:48 +02:00
.gitignore gitignore: sort content 2023-11-17 15:54:24 +01:00
Makefile fix #5180: dbus-vmstate: add daemon for QEMUs dbus-vmstate interface 2025-07-30 22:55:32 +02:00