Message ID | 20240215084315.863897-5-eric.auger@redhat.com |
---|---|
State | New |
Headers | show |
Series | VIRTIO-IOMMU: Introduce an aw-bits option | expand |
On 2/15/24 09:42, Eric Auger wrote: > We are missing an entry for the virtio-iommu-pci device. Add the > information on which machine it is currently supported and document > the new aw-bits option. > > Signed-off-by: Eric Auger <eric.auger@redhat.com> argh forgot to add Cédric R-b collected on v4 Reviewed-by: Cédric Le Goater <clg@redhat.com> Michael, please apply it when/if you decide to pull it Eric > > --- > > v4 -> v5 > - tweek the aw-bits option description according to Cédric's > suggestion > --- > qemu-options.hx | 8 ++++++++ > 1 file changed, 8 insertions(+) > > diff --git a/qemu-options.hx b/qemu-options.hx > index 8547254dbf..a98bc7bd60 100644 > --- a/qemu-options.hx > +++ b/qemu-options.hx > @@ -1172,6 +1172,14 @@ 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-pci[,option=...]`` > + This is only supported by ``-machine q35`` and ``-machine virt``. > + It supports below options: > + > + ``aw-bits=val`` (val between 32 and 64, default depends on machine) > + This decides the address width of IOVA address space. It defaults > + to 39 bits on q35 machines and 48 bits on ARM virt machines. > + > ERST > > DEF("name", HAS_ARG, QEMU_OPTION_name,
diff --git a/qemu-options.hx b/qemu-options.hx index 8547254dbf..a98bc7bd60 100644 --- a/qemu-options.hx +++ b/qemu-options.hx @@ -1172,6 +1172,14 @@ 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-pci[,option=...]`` + This is only supported by ``-machine q35`` and ``-machine virt``. + It supports below options: + + ``aw-bits=val`` (val between 32 and 64, default depends on machine) + This decides the address width of IOVA address space. It defaults + to 39 bits on q35 machines and 48 bits on ARM virt machines. + ERST DEF("name", HAS_ARG, QEMU_OPTION_name,
We are missing an entry for the virtio-iommu-pci device. Add the information on which machine it is currently supported and document the new aw-bits option. Signed-off-by: Eric Auger <eric.auger@redhat.com> --- v4 -> v5 - tweek the aw-bits option description according to Cédric's suggestion --- qemu-options.hx | 8 ++++++++ 1 file changed, 8 insertions(+)