]> xenbits.xensource.com Git - people/liuw/libxenctrl-split/libvirt.git/commitdiff
nodedev: Resolve Relax-NG validity error
authorJohn Ferlan <jferlan@redhat.com>
Thu, 3 Oct 2013 21:11:57 +0000 (17:11 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Fri, 4 Oct 2013 11:52:45 +0000 (07:52 -0400)
Commit id 'c4a4603de' added an output <path> to the nodedev xml, but
did not update the schema.

This resulted in the failure of the 'virt-xml-validate' on a file
generated by 'virsh nodedev-dumpxml pci_0000_00_00_0' (for example).

This was found/seen by running autotest on my host.

docs/schemas/nodedev.rng

index d2bebffd5279bd3162449b6d166672551ddc102b..81ab4d4856d67afaeff49513cf0cd8da0b0b0967 100644 (file)
@@ -12,6 +12,9 @@
       <!-- The name of the network, used to refer to it through the API
          and in virsh -->
       <element name="name"><text/></element>
+      <optional>
+        <element name="path"><text/></element>
+      </optional>
       <optional>
         <element name="parent"><text/></element>
       </optional>