]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
docs: Allow 'id' attribute for 'cachetune' element
authorKristina Hanicova <khanicov@redhat.com>
Tue, 20 Jul 2021 12:58:08 +0000 (14:58 +0200)
committerMichal Privoznik <mprivozn@redhat.com>
Tue, 20 Jul 2021 14:43:46 +0000 (16:43 +0200)
Even though 'id' attribute is output-only, we should accept xml
files containing it.

Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1941594

Signed-off-by: Kristina Hanicova <khanicov@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
docs/formatdomain.rst
docs/schemas/domaincommon.rng

index 25e6bf73ba1c7ff43506a5165a9c9c21a0f4013d..b14fba2cd1624883ef03e4d1cadb86ff3a1a3904 100644 (file)
@@ -850,6 +850,7 @@ CPU Tuning
    to which vCPUs this allocation applies. A vCPU can only be member of one
    ``cachetune`` element allocation. The vCPUs specified by cachetune can be
    identical with those in memorytune, however they are not allowed to overlap.
+   The optional, output only ``id`` attribute identifies cache uniquely.
    Supported subelements are:
 
    ``cache``
index 5ea14b6dbf9fe2a18e00f0cd0c2ba9247531ce12..c6643bbc7f979e79b340eebba7931b7599d2fbb8 100644 (file)
             <attribute name="vcpus">
               <ref name="cpuset"/>
             </attribute>
+            <optional>
+              <attribute name="id">
+                <data type="string"/>
+              </attribute>
+            </optional>
             <oneOrMore>
               <choice>
                 <element name="cache">