[libvirt] [PATCH v2 1/5] qemu: fix documentation for video resolution

Jonathon Jongsma jjongsma at redhat.com
Wed Oct 23 17:46:45 UTC 2019


The video resolution support that was introduced in
7286279797a34b3083d85bc4556432b5e7ad9fff is specified as a <resolution>
sub-element of <model>, not optional attributes of model.

Signed-off-by: Jonathon Jongsma <jjongsma at redhat.com>
---
 docs/formatdomain.html.in | 12 ++++++++----
 1 file changed, 8 insertions(+), 4 deletions(-)

diff --git a/docs/formatdomain.html.in b/docs/formatdomain.html.in
index 962766b792..7cc9ada897 100644
--- a/docs/formatdomain.html.in
+++ b/docs/formatdomain.html.in
@@ -7077,10 +7077,14 @@ qemu-kvm -net nic,model=? /dev/null
           <code>vgamem</code> (<span class="since">since 1.2.11</span>) to set
           the size of VGA framebuffer for fallback mode of QXL device.
           Attribute <code>vram64</code> (<span class="since">since 1.3.3</span>)
-          extends secondary bar and makes it addressable as 64bit memory. For
-          resolution settings, there are <code>x</code> and <code>y</code>
-          (<span class="since">since 5.9.0</span>) optional attributes to set
-          minimum resolution for model.
+          extends secondary bar and makes it addressable as 64bit memory.
+        </p>
+        <p><span class="since">Since 5.9.0</span>, the <code>model</code>
+        element may also have an optional <code>resolution</code> sub-element.
+        The <code>resolution</code> element has attributes <code>x</code> and
+        <code>y</code> to set the minimum resolution for the video device. This
+        sub-element is valid for model types "vga", "qxl", "bochs", and
+        "virtio".
         </p>
       </dd>
 
-- 
2.21.0




More information about the libvir-list mailing list