[libvirt] [PATCH 1/2] fix domaincommon.rng to accept network name with quotes

Laine Stump laine at laine.org
Tue Jun 9 14:36:01 UTC 2015


On 06/01/2015 04:07 AM, Shivaprasad G Bhat wrote:
> The network name is currently of type "deviceName" but it should be "text" as
> name is defined in the network.rng.
>
> Signed-off-by: Shivaprasad G Bhat <sbhat at linux.vnet.ibm.com>
> ---
>  docs/schemas/domaincommon.rng |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/docs/schemas/domaincommon.rng b/docs/schemas/domaincommon.rng
> index 7c6fa5c..5dc48f7 100644
> --- a/docs/schemas/domaincommon.rng
> +++ b/docs/schemas/domaincommon.rng
> @@ -2065,7 +2065,7 @@
>            <interleave>
>              <element name="source">
>                <attribute name="network">
> -                <ref name="deviceName"/>
> +                <text/>
>                </attribute>
>                <optional>
>                  <attribute name="portgroup">

Since the name element in the network XML is defined as <text/>, it
makes sense to do the same here. ACK.




More information about the libvir-list mailing list