Hi,
On 9/3/21 4:32 PM, Jean-Philippe Brucker wrote:
> Document the virtio-iommu device for qemu-system-x86_64. In particular
> note the lack of interrupt remapping, which may be an important
> limitation on x86.
>
> Suggested-by: Eric Auger <[email protected]>
> Signed-off-by: Jean-Philippe Brucker <[email protected]>
> ---
> 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.
maybe you should also document which machines do support the
virtio-iommu (as done for intel-iommu). By the way intel-iommu only is
supported on q35. Is it the same for the virtio-iommu. I think we should
restrict the virtio-iommu to q35 too
Thanks
Eric
> ERST
>
> DEF("name", HAS_ARG, QEMU_OPTION_name,