[PATCH 2/2] docs: domain: Fix iothread to virtqueue mapping example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
---
 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
_______________________________________________
Devel mailing list -- devel@xxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxx




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux