On a Wednesday in 2025, Ján Tomko via Devel wrote:
Introduce a new IOMMU device model 'amd', both the parser
and the formatter for QEMU because of our enum warnings.

https://issues.redhat.com/browse/RHEL-50560

Signed-off-by: Ján Tomko <jto...@redhat.com>
---
docs/formatdomain.rst                         |  5 ++-
src/conf/domain_conf.c                        |  1 +
src/conf/domain_conf.h                        |  1 +
src/conf/domain_validate.c                    | 13 +++++++
src/conf/schemas/domaincommon.rng             |  1 +
src/qemu/qemu_command.c                       | 28 +++++++++++++
src/qemu/qemu_domain_address.c                |  4 ++
src/qemu/qemu_validate.c                      | 29 ++++++++++++++
.../amd-iommu.x86_64-latest.args              | 35 +++++++++++++++++
.../amd-iommu.x86_64-latest.xml               |  1 +
tests/qemuxmlconfdata/amd-iommu.xml           | 39 +++++++++++++++++++
tests/qemuxmlconftest.c                       |  2 +
12 files changed, 157 insertions(+), 2 deletions(-)
create mode 100644 tests/qemuxmlconfdata/amd-iommu.x86_64-latest.args
create mode 120000 tests/qemuxmlconfdata/amd-iommu.x86_64-latest.xml
create mode 100644 tests/qemuxmlconfdata/amd-iommu.xml

diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index 9c6bb08726..c5708000b8 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -8904,8 +8904,9 @@ Example:

``model``
   Supported values are ``intel`` (for Q35 guests) ``smmuv3``
-   (:since:`since 5.5.0`, for ARM virt guests), and ``virtio``
-   (:since:`since 8.3.0`, for Q35 and ARM virt guests).
+   (:since:`since 5.5.0`, for ARM virt guests), ``virtio``
+   (:since:`since 8.3.0`, for Q35 and ARM virt guests) and
+   ``amd`` (:since:`since 11.2.0`).


s/11.2.0/11.3.0/

at least

Jano

``driver``
   The ``driver`` subelement can be used to configure additional options, some

Attachment: signature.asc
Description: PGP signature

Reply via email to