[libvirt] [PATCH] docs: rng: make newly introduced features in domcaps optional

John Ferlan jferlan at redhat.com
Thu Mar 14 12:31:54 UTC 2019



On 3/14/19 4:21 AM, Nikolay Shirokovskiy wrote:
> <features> was introduced in 24f17f55 and have only gic child element
> at the time. Thus from backcompat POV the other children are optional.
> 
> Signed-off-by: Nikolay Shirokovskiy <nshirokovskiy at virtuozzo.com>
> ---
>  docs/schemas/domaincaps.rng | 12 +++++++++---
>  1 file changed, 9 insertions(+), 3 deletions(-)
> 

See patch 9 of the series

https://www.redhat.com/archives/libvir-list/2019-March/msg00374.html

John

> diff --git a/docs/schemas/domaincaps.rng b/docs/schemas/domaincaps.rng
> index 7d80693..2258365 100644
> --- a/docs/schemas/domaincaps.rng
> +++ b/docs/schemas/domaincaps.rng
> @@ -183,9 +183,15 @@
>      <element name='features'>
>        <interleave>
>          <ref name='gic'/>
> -        <ref name='vmcoreinfo'/>
> -        <ref name='vmgenid'/>
> -        <ref name='sev'/>
> +        <optional>
> +          <ref name='vmcoreinfo'/>
> +        </optional>
> +        <optional>
> +          <ref name='vmgenid'/>
> +        </optional>
> +        <optional>
> +          <ref name='sev'/>
> +        </optional>
>        </interleave>
>      </element>
>    </define>
> 




More information about the libvir-list mailing list