]> xenbits.xensource.com Git - libvirt.git/commitdiff
schema: Add maxphysaddr element to hostcpu
authorJim Fehlig <jfehlig@suse.com>
Thu, 11 Aug 2022 22:36:24 +0000 (16:36 -0600)
committerJim Fehlig <jfehlig@suse.com>
Mon, 15 Aug 2022 15:32:59 +0000 (09:32 -0600)
The output of "virsh capabilities" was not conformant to the
capability.rng schema. Add the missing element to the schema.

Fixes: c647bf29afb9890c792172ecf7db2c9c27babbb6
Signed-off-by: Tim Wiederhake <twiederh@redhat.com>
Signed-off-by: Jim Fehlig <jfehlig@suse.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
src/conf/schemas/cputypes.rng
tests/capabilityschemadata/caps-test.xml

index 219acaef143e47d185f46be7f8d5a8d3d6e1022d..986a5f3715920cbf3fd4d45f2ddbb82eba77588a 100644 (file)
         <optional>
           <ref name="cpuTopology"/>
         </optional>
+        <optional>
+          <ref name="cpuMaxPhysAddr"/>
+        </optional>
         <zeroOrMore>
           <element name="feature">
             <attribute name="name">
index 44a390a5b6d0ea830788b74a4842d2cb831297f4..b508f25dce9c4188bf839d3d5bf6d49ccbbdcf55 100644 (file)
@@ -4,6 +4,7 @@
     <cpu>
       <arch>i686</arch>
       <vendor>Intel</vendor>
+      <maxphysaddr mode='emulate' bits='46'/>
       <features>
         <pae/>
         <nonpae/>