[libvirt] [PATCH v2 01/10] docs: Adding 'xres' and 'yres' into video XML definition

jcfaracco@gmail.com posted 10 patches 5 years, 2 months ago
[libvirt] [PATCH v2 01/10] docs: Adding 'xres' and 'yres' into video XML definition
Posted by jcfaracco@gmail.com 5 years, 2 months ago
From: Julio Faracco <jcfaracco@gmail.com>

This commit adds resolution element with parameters 'x' and 'y' into video
XML domain group definition. Both, properties were added into an element
called 'resolution' and it was added inside 'model' element. They are 
set as optional. This element does not follow QEMU properties 'xres' 
and 'yres' format.

Signed-off-by: Julio Faracco <jcfaracco@gmail.com>
---
 docs/schemas/domaincommon.rng | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index c48f8c4f56..7b6468c36e 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -3637,6 +3637,16 @@
               </optional>
             </element>
           </optional>
+          <optional>
+            <element name="resolution">
+              <attribute name="x">
+                <ref name="unsignedInt"/>
+              </attribute>
+              <attribute name="y">
+                <ref name="unsignedInt"/>
+              </attribute>
+            </element>
+          </optional>
         </element>
       </optional>
       <optional>
-- 
2.20.1

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list