Skip to contentSkip to conversation

docs/system: fix vfio-user console example format

PATCH In review Carlos López 3 participants 3 messages Oct 21, 2025

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 docs/system: fix vfio-user console example format

The rendering for the console example for vfio-user is displayed incorrectly because of a missing indentation, causing the example to be shown as regular text. Fix this by adding the required indentation.

Fixes c688cc165b32 ("docs: add vfio-user documentation")
---
 docs/system/devices/vfio-user.rst | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
docs/system/devices/vfio-user.rst +1 -1
index b6dcaa5615..e31548b3a4 100644
@@ -20,7 +20,7 @@ Presuming a suitable ``vfio-user`` server has opened a socket at
 
 .. code-block:: console
 
--device '{"driver": "vfio-user-pci","socket": {"path": "/tmp/vfio-user.sock", "type": "unix"}}'
+  -device '{"driver": "vfio-user-pci","socket": {"path": "/tmp/vfio-user.sock", "type": "unix"}}'
 
 See `libvfio-user <https://github.com/nutanix/libvfio-user/>`_ for further
 information.
Signature · 1 line
2.51.0
#1 lore raw
Quoted 3 lines · Carlos López

The rendering for the console example for vfio-user is displayed incorrectly because of a missing indentation, causing the example to be shown as regular text. Fix this by adding the required indentation.

Thanks but this is a duplicate of:

https://lore.kernel.org/qemu-devel/[email protected]/

regards
john

#2 lore raw
In reply to Carlos López

Hello Carlos,

Quoted 15 lines · Carlos López

The rendering for the console example for vfio-user is displayed incorrectly because of a missing indentation, causing the example to be shown as regular text. Fix this by adding the required indentation.

Fixes c688cc165b32 ("docs: add vfio-user documentation")
---
  docs/system/devices/vfio-user.rst | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
docs/system/devices/vfio-user.rst +0 -0
index b6dcaa5615..e31548b3a4 100644

docs/system/devices/vfio-user.rst Presuming a suitable ``vfio-user`` server has opened a socket at · line 26

Quoted 8 lines
docs/system/devices/vfio-user.rst +1 -1
@@ -20,7 +20,7 @@ Presuming a suitable ``vfio-user`` server has opened a socket at
 
  .. code-block:: console
 
--device '{"driver": "vfio-user-pci","socket": {"path": "/tmp/vfio-user.sock", "type": "unix"}}'
+  -device '{"driver": "vfio-user-pci","socket": {"path": "/tmp/vfio-user.sock", "type": "unix"}}'
 
  See `libvfio-user <https://github.com/nutanix/libvfio-user/>`_ for further
  information.

John sent a similar fix [1]. It's in the vfio-next branch and should soon be merged.

Thanks,

C.

[1] https://lore.kernel.org//qemu-devel/[email protected]