Each queue can be referenced only once and queues are numbered starting
from 0. Modify the example to show a valid configuration of one
iothread servicing more queues.
Signed-off-by: Peter Krempa <pkrempa(a)redhat.com>
---
docs/formatdomain.rst | 6 ++----
1 file changed, 2 insertions(+), 4 deletions(-)
diff --git a/docs/formatdomain.rst b/docs/formatdomain.rst
index ceb590f2b1..3e7dfb7f26 100644
--- a/docs/formatdomain.rst
+++ b/docs/formatdomain.rst
@@ -3352,15 +3352,13 @@ paravirtualized driver is specified via the ``disk`` element.
handle given queues. :since:`Since 10.0.0 (QEMU 9.0, virtio disks only)`.
Example::
- <driver name='qemu' queues='2'>
+ <driver name='qemu' queues='3'>
<iothreads>
- <iothread id='1'>
- <queue id='1'/>
- </iothread>
<iothread id='2'>
<queue id='1'/>
</iothread>
<iothread id='3'>
+ <queue id='0'/>
<queue id='2'/>
</iothread>
</iothreads>
--
2.43.0