Re: [PATCH 1/3] Conf: add dma_translation attribute to iommu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/7/24 09:37, Sandesh Patel wrote:
> Add dma_translation attribute to iommu to enable/disable dma traslation
> for intel-iommu
> 
> Signed-off-by: Sandesh Patel <sandesh.patel@xxxxxxxxxxx>
> ---
>  docs/formatdomain.rst             |  7 +++++++
>  src/conf/domain_conf.c            | 15 +++++++++++++++
>  src/conf/domain_conf.h            |  1 +
>  src/conf/schemas/domaincommon.rng |  5 +++++
>  4 files changed, 28 insertions(+)
> 
> diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
> index c56b739b23..a037ab65e4 100644
> --- a/docs/formatdomain.rst
> +++ b/docs/formatdomain.rst
> @@ -8611,6 +8611,13 @@ Example:
>        mapping larger iova addresses in the guest. :since:`Since 6.5.0` (QEMU/KVM
>        only)
>  
> +   ``dma_translation``
> +      The ``dma_translation`` attribute with possible values ``on`` and ``off`` can
> +      be used to turn off the dma translation for IOMMU. It is useful when only
> +      interrupt remapping is required but dma translation overhead is unwanted, for
> +      example to efficiently enable more than 255 vCPUs.
> +      :since:`Since 10.6.1` (QEMU/KVM only)

This must be 10.7.0. The micro is reserved for maintenance releases
(which we don't really do anymore).

https://libvirt.org/downloads.html#release-numbering

Oh, and we often put xml2xml testcase here to prove parsing & formatting
works. This also drags in xml2cmd testcase, but that's okay. In fact, it
makes it more obvious how cmd line is changed once we start generating
it (patch 3/3).

Michal



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux