]> xenbits.xensource.com Git - libvirt.git/commitdiff
docs: domain: Fix iothread to virtqueue mapping example
authorPeter Krempa <pkrempa@redhat.com>
Fri, 16 Feb 2024 08:40:59 +0000 (09:40 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Fri, 16 Feb 2024 15:15:18 +0000 (16:15 +0100)
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Andrea Bolognani <abologna@redhat.com>
docs/formatdomain.rst

index ceb590f2b172f2c64d4167f25b3919dd6c62e7e3..3e7dfb7f26ceb8af3e00515e697216bf3a418899 100644 (file)
@@ -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>