]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
schema: Add optional "mode" attribute to hyperv
authorTim Wiederhake <twiederh@redhat.com>
Thu, 25 Nov 2021 18:57:49 +0000 (19:57 +0100)
committerTim Wiederhake <twiederh@redhat.com>
Tue, 14 Dec 2021 15:50:45 +0000 (16:50 +0100)
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@redhat.com>
Reviewed-by: Ján Tomko <jtomko@redhat.com>
docs/schemas/domaincommon.rng

index 862647a4e6fe227e322cc4c96537abe03ea1d031..723023167499acc1015588d264899f170cc5ba0f 100644 (file)
     <element name="hyperv">
       <choice>
         <group>
+          <optional>
+            <attribute name="mode">
+              <value>custom</value>
+            </attribute>
+          </optional>
           <interleave>
             <optional>
               <element name="relaxed">