On Mon, Sep 14, 2026 at 16:28:55 +0800, Zhenzhong Duan wrote:
> Add scalable_mode attribute to iommu to enable/disable scalable mode
> for intel-iommu.
> 
> Signed-off-by: Zhenzhong Duan <[email protected]>
> ---
>  docs/formatdomain.rst                         |  4 ++
>  src/conf/domain_conf.c                        | 16 ++++++++
>  src/conf/domain_conf.h                        |  1 +
>  src/conf/domain_validate.c                    |  3 ++
>  src/conf/schemas/domaincommon.rng             |  5 +++
>  src/qemu/qemu_command.c                       |  1 +
>  src/qemu/qemu_validate.c                      |  6 +++
>  ...tel-iommu-scalable-mode.x86_64-latest.args | 34 +++++++++++++++++
>  ...ntel-iommu-scalable-mode.x86_64-latest.xml | 37 +++++++++++++++++++
>  .../intel-iommu-scalable-mode.xml             | 37 +++++++++++++++++++
>  tests/qemuxmlconftest.c                       |  1 +
>  11 files changed, 145 insertions(+)
>  create mode 100644 
> tests/qemuxmlconfdata/intel-iommu-scalable-mode.x86_64-latest.args
>  create mode 100644 
> tests/qemuxmlconfdata/intel-iommu-scalable-mode.x86_64-latest.xml
>  create mode 100644 tests/qemuxmlconfdata/intel-iommu-scalable-mode.xml
> 
> diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
> index 5a278f3717..761c5747ed 100644
> --- a/docs/formatdomain.rst
> +++ b/docs/formatdomain.rst
> @@ -9482,6 +9482,10 @@ Examples:
>        default value is used.
>        :since:`Since 12.7.0` (QEMU/KVM and ``smmuv3`` model only)
>  
> +   ``scalable_mode``
> +      Enable scalable mode DMA translation.
> +      :since:`Since 12.8.0` (QEMU/KVM and ``intel`` model only)
> +

12.10.0

I'll update the patch since it's the only problem and I've also rebased
all the capability patches.

Reviewed-by: Peter Krempa <[email protected]>

Reply via email to