Hi Eric,

On 5/19/2026 9:03 AM, Eric Auger wrote:
Hi Nathan,

On 5/12/26 9:35 PM, Nathan Chen wrote:
From: Nathan Chen<[email protected]>

Update documentation now that "auto" is supported for accelerated SMMUv3
properties.

Signed-off-by: Nathan Chen<[email protected]>
---
  qemu-options.hx | 25 +++++++++++++++++++------
  1 file changed, 19 insertions(+), 6 deletions(-)

diff --git a/qemu-options.hx b/qemu-options.hx
index 96ae41f787..46b02a1bb3 100644
--- a/qemu-options.hx
+++ b/qemu-options.hx
@@ -1291,30 +1291,43 @@ SRST
          Enabling accel configures the host SMMUv3 in nested mode to support
          vfio-pci passthrough.
- The following options are available when accel=on.
-     Note: 'auto' mode is not currently supported.
+     The following options will be set to auto by default if not manually
+     set. When accel=on and these properties are set to auto, the value is
+     derived from the host SMMUv3 capabilities via IOMMU_GET_HW_INFO. With
+     accel=on, this requires at least one cold-plugged vfio-pci device; if
+     none is present at machine init, QEMU will abort.
- ``ril=on|off`` (default: on)
+     If accel=off, auto values resolve to the non-accel defaults given below.
[*]
+
+    ``ril=on|off|auto`` (default: auto)
          Support for Range Invalidation, which allows the SMMUv3 driver to
          invalidate TLB entries for a range of IOVAs at once instead of issuing
          separate commands to invalidate each page. Must match with host SMMUv3
          Range Invalidation support.
+        - With accel=on, auto means the value is automatically derived from 
the host SMMU.
instead of repeating that sentence for all props you mean put it in [*]
I would like to omit this for all props since it is already mentioned above "When accel=on and these properties are set to auto, the value is derived from the host SMMUv3 capabilities via IOMMU_GET_HW_INFO". Would that be OK?

Thanks,
Nathan

Reply via email to