docs: Allow 'id' attribute for 'cachetune' element

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>
This commit is contained in:
Kristina Hanicova 2021-07-20 14:58:08 +02:00 committed by Michal Privoznik
parent 5f14729bbe
commit b78bfd4c54
2 changed files with 6 additions and 0 deletions

View File

@ -850,6 +850,7 @@ CPU Tuning
to which vCPUs this allocation applies. A vCPU can only be member of one to which vCPUs this allocation applies. A vCPU can only be member of one
``cachetune`` element allocation. The vCPUs specified by cachetune can be ``cachetune`` element allocation. The vCPUs specified by cachetune can be
identical with those in memorytune, however they are not allowed to overlap. identical with those in memorytune, however they are not allowed to overlap.
The optional, output only ``id`` attribute identifies cache uniquely.
Supported subelements are: Supported subelements are:
``cache`` ``cache``

View File

@ -1006,6 +1006,11 @@
<attribute name="vcpus"> <attribute name="vcpus">
<ref name="cpuset"/> <ref name="cpuset"/>
</attribute> </attribute>
<optional>
<attribute name="id">
<data type="string"/>
</attribute>
</optional>
<oneOrMore> <oneOrMore>
<choice> <choice>
<element name="cache"> <element name="cache">