On Mon, Sep 22, 2014 at 09:46:29PM +0800, Jianwei Hu wrote:
    When using virt-xml-validate to check tap and vhost attributes
    in <interface> of domain xml, should validate them separately,
    don't combine to check them, we can ignore/specify any of them.

unnecessarily indented commit message.

---
docs/schemas/domaincommon.rng | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
index 36bc184..b6b309d 100644
--- a/docs/schemas/domaincommon.rng
+++ b/docs/schemas/domaincommon.rng
@@ -2313,12 +2313,16 @@
      </optional>
      <optional>
        <element name="backend">
+          <optional>
           <attribute name='tap'>
             <ref name='absFilePath'/>
           </attribute>
+          </optional>
+          <optional>
           <attribute name='vhost'>
             <ref name='absFilePath'/>
           </attribute>
+          </optional>
        </element>
      </optional>
      <optional>
--
1.8.3.1


ACK && will push in a while with modified commit message.

Martin

Attachment: signature.asc
Description: Digital signature

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

Reply via email to