[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2 8/8] docs: Add '-device virtio-iommu' entry
From: |
Eric Auger |
Subject: |
Re: [PATCH v2 8/8] docs: Add '-device virtio-iommu' entry |
Date: |
Mon, 6 Sep 2021 16:41:23 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.10.1 |
Hi Jean,
On 9/3/21 4:32 PM, Jean-Philippe Brucker wrote:
> Document the virtio-iommu device for qemu-system-x86_64. In particular
Nit: this is not only for qemu-system-x86_6. This also documents the
option usage for aarch64. Only the interrupt remapping note is x86-64
specific.
I think it also would be worth to mention the interaction with the
bypass iommu option as you mention "for all devices".
Thanks
Eric
> note the lack of interrupt remapping, which may be an important
> limitation on x86.
>
> Suggested-by: Eric Auger <eric.auger@redhat.com>
> Signed-off-by: Jean-Philippe Brucker <jean-philippe@linaro.org>
> ---
> qemu-options.hx | 3 +++
> 1 file changed, 3 insertions(+)
>
> diff --git a/qemu-options.hx b/qemu-options.hx
> index 83aa59a920..9a1906a748 100644
> --- a/qemu-options.hx
> +++ b/qemu-options.hx
> @@ -976,6 +976,9 @@ SRST
> Please also refer to the wiki page for general scenarios of VT-d
> emulation in QEMU: https://wiki.qemu.org/Features/VT-d.
>
> +``-device virtio-iommu``
> + Enable a paravirtual IOMMU, that manages DMA isolation and remapping
> + for all PCI devices, but does not support interrupt remapping.
> ERST
>
> DEF("name", HAS_ARG, QEMU_OPTION_name,
- Re: [PATCH v2 2/8] hw/acpi: Add VIOT table, (continued)
- [PATCH v2 5/8] hw/arm/virt: Reject instantiation of multiple IOMMUs, Jean-Philippe Brucker, 2021/09/03
- [PATCH v2 4/8] hw/arm/virt: Remove device tree restriction for virtio-iommu, Jean-Philippe Brucker, 2021/09/03
- [PATCH v2 6/8] pc: Add VIOT table for virtio-iommu, Jean-Philippe Brucker, 2021/09/03
- [PATCH v2 8/8] docs: Add '-device virtio-iommu' entry, Jean-Philippe Brucker, 2021/09/03
- [PATCH v2 7/8] pc: Allow instantiating a virtio-iommu device, Jean-Philippe Brucker, 2021/09/03