[libvirt] [PATCH] rng: validating tap and vhost attributes separately

Martin Kletzander mkletzan at redhat.com
Mon Sep 22 14:40:46 UTC 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20140922/a842f2fe/attachment-0001.sig>


More information about the libvir-list mailing list