Re: [PATCH] schemas: Fix cpu element schema

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]