Re: [libvirt PATCH] schema: Add maxphysaddr element to hostcpu

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

 



On Tue, Aug 09, 2022 at 06:22:12PM +0200, Tim Wiederhake wrote:
> The output of "virsh capabilities" was not conformant to the
> capability.rng schema. Add the missing element to the schema.

The RNG files are applied against every XML file under tests/,
so if we have an unnoticed gap in an RNG file, that is in turn
a sign that we have insufficient XML files for in tests/

> 
> Fixes: c647bf29afb9890c792172ecf7db2c9c27babbb6
> Signed-off-by: Tim Wiederhake <twiederh@xxxxxxxxxx>
> ---
>  src/conf/schemas/cputypes.rng | 3 +++
>  1 file changed, 3 insertions(+)

> 
> diff --git a/src/conf/schemas/cputypes.rng b/src/conf/schemas/cputypes.rng
> index 4ae386c3c0..d02f2f88cf 100644
> --- a/src/conf/schemas/cputypes.rng
> +++ b/src/conf/schemas/cputypes.rng
> @@ -387,6 +387,9 @@
>          <optional>
>            <ref name="cpuTopology"/>
>          </optional>
> +        <optional>
> +          <ref name="cpuMaxPhysAddr"/>
> +        </optional>
>          <zeroOrMore>
>            <element name="feature">
>              <attribute name="name">

So this change is fine, but we also ought to have an XML file to
illustrate the usage


With regards,
Daniel
-- 
|: https://berrange.com      -o-    https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org         -o-            https://fstop138.berrange.com :|
|: https://entangle-photo.org    -o-    https://www.instagram.com/dberrange :|




[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]

  Powered by Linux