]> xenbits.xensource.com Git - libvirt.git/commitdiff
schema: tighten <serial><protocol type=...> relaxNG
authorEric Blake <eblake@redhat.com>
Thu, 6 Jan 2011 00:13:16 +0000 (17:13 -0700)
committerEric Blake <eblake@redhat.com>
Thu, 6 Jan 2011 15:15:50 +0000 (08:15 -0700)
* docs/schemas/domain.rng (qemucdevSrcDef): Restrict list of
supported <protocol type=> values.

docs/schemas/domain.rng

index eee98641063f9af5132e88fbecd65b1f13da3cb6..a524e4bcd688689c7180ec3bb2f9baed8f67effb 100644 (file)
     <optional>
       <element name="protocol">
         <optional>
-          <attribute name="type"/>
+          <attribute name="type">
+            <choice>
+              <value>raw</value>
+              <value>telnet</value>
+              <value>telnets</value>
+              <value>tls</value>
+            </choice>
+          </attribute>
         </optional>
       </element>
     </optional>