[libvirt] [PATCH] schemas: Fix cpu element schema

Eric Blake eblake at redhat.com
Wed Dec 1 17:31:28 UTC 2010


On 12/01/2010 07:50 AM, Jiri Denemark wrote:
> Both vendor and topology elements are optional.
> ---
>  docs/schemas/domain.rng |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
> 
> diff --git a/docs/schemas/domain.rng b/docs/schemas/domain.rng
> index fb44335..08ebefb 100644
> --- a/docs/schemas/domain.rng
> +++ b/docs/schemas/domain.rng
> @@ -1745,6 +1745,8 @@
>              <ref name="cpuModel"/>
>              <optional>
>                <ref name="cpuVendor"/>
> +            </optional>
> +            <optional>
>                <ref name="cpuTopology"/>

ACK; makes it so that either one can be used in isolation, instead of a
both-or-none approach.  Do we have a corresponding .xml file somewhere
in the tests/ hierarchy that will test this?

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20101201/23838560/attachment-0001.sig>


More information about the libvir-list mailing list