[libvirt PATCH 02/10] schema: Add optional "mode" attribute to hyperv

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

 



Allow for an optional attribute "mode", set to the string "custom".

Later patches will introduce different modes. Omitting this attribute
will default to "custom" for backwards compatibility.

Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx>
---
 docs/schemas/domaincommon.rng | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 3d57d417ca..14a4f528ab 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -7089,6 +7089,11 @@
     <element name="hyperv">
       <choice>
         <group>
+          <optional>
+            <attribute name="mode">
+              <value>custom</value>
+            </attribute>
+          </optional>
           <interleave>
             <optional>
               <element name="relaxed">
-- 
2.31.1




[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