Replace the VIRTIO_IOMMU_F_BYPASS feature with VIRTIO_IOMMU_F_BYPASS_CONFIG, which enables a config space bit to switch global bypass on and off.
Add a boot-bypass option, which defaults to 'on' to be in line with other vIOMMUs and to allow running firmware/bootloader that are unaware of the IOMMU. See the spec change for more rationale https://lists.oasis-open.org/archives/virtio-dev/202109/msg00137.html Jean-Philippe Brucker (3): NOMERGE: virtio-iommu: Add definitions for VIRTIO_IOMMU_F_BYPASS_CONFIG virtio-iommu: Default to bypass during boot virtio-iommu: Support bypass domain include/hw/virtio/virtio-iommu.h | 1 + include/standard-headers/linux/virtio_iommu.h | 10 +++- hw/virtio/virtio-iommu.c | 60 ++++++++++++++++--- hw/virtio/trace-events | 4 +- 4 files changed, 64 insertions(+), 11 deletions(-) -- 2.33.0