domaincaps: rename reduced-phys-bits to reducedPhysBits

We have enough elements using underscores instead of camelCase,
do not bring dashes into the mix.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Brijesh Singh <brijesh.singh@amd.com>
Tested-by: Brijesh Singh <brijesh.singh@amd.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Ján Tomko 2018-06-12 13:38:19 +02:00
parent 39907c6c95
commit a95b99d030
3 changed files with 3 additions and 3 deletions

View File

@ -492,7 +492,7 @@
<dd>When memory encryption is enabled, one of the physical address bits
(aka the C-bit) is utilized to mark if a memory page is protected. The
C-bit position is Hypervisor dependent.</dd>
<dt><code>reduced-phys-bits</code></dt>
<dt><code>reducedPhysBits</code></dt>
<dd>When memory encryption is enabled, we lose certain bits in physical
address space. The number of bits we lose is hypervisor dependent.</dd>
</dl>

View File

@ -216,7 +216,7 @@
<element name='cbitpos'>
<data type='unsignedInt'/>
</element>
<element name='reduced-phys-bits'>
<element name='reducedPhysBits'>
<data type='unsignedInt'/>
</element>
</element>

View File

@ -565,7 +565,7 @@ virDomainCapsFeatureSEVFormat(virBufferPtr buf,
virBufferAddLit(buf, "<sev supported='yes'>\n");
virBufferAdjustIndent(buf, 2);
virBufferAsprintf(buf, "<cbitpos>%d</cbitpos>\n", sev->cbitpos);
virBufferAsprintf(buf, "<reduced-phys-bits>%d</reduced-phys-bits>\n",
virBufferAsprintf(buf, "<reducedPhysBits>%d</reducedPhysBits>\n",
sev->reduced_phys_bits);
virBufferAdjustIndent(buf, -2);
virBufferAddLit(buf, "</sev>\n");