mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-22 04:25:18 +00:00
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:
parent
39907c6c95
commit
a95b99d030
@ -492,7 +492,7 @@
|
|||||||
<dd>When memory encryption is enabled, one of the physical address bits
|
<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
|
(aka the C-bit) is utilized to mark if a memory page is protected. The
|
||||||
C-bit position is Hypervisor dependent.</dd>
|
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
|
<dd>When memory encryption is enabled, we lose certain bits in physical
|
||||||
address space. The number of bits we lose is hypervisor dependent.</dd>
|
address space. The number of bits we lose is hypervisor dependent.</dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
@ -216,7 +216,7 @@
|
|||||||
<element name='cbitpos'>
|
<element name='cbitpos'>
|
||||||
<data type='unsignedInt'/>
|
<data type='unsignedInt'/>
|
||||||
</element>
|
</element>
|
||||||
<element name='reduced-phys-bits'>
|
<element name='reducedPhysBits'>
|
||||||
<data type='unsignedInt'/>
|
<data type='unsignedInt'/>
|
||||||
</element>
|
</element>
|
||||||
</element>
|
</element>
|
||||||
|
@ -565,7 +565,7 @@ virDomainCapsFeatureSEVFormat(virBufferPtr buf,
|
|||||||
virBufferAddLit(buf, "<sev supported='yes'>\n");
|
virBufferAddLit(buf, "<sev supported='yes'>\n");
|
||||||
virBufferAdjustIndent(buf, 2);
|
virBufferAdjustIndent(buf, 2);
|
||||||
virBufferAsprintf(buf, "<cbitpos>%d</cbitpos>\n", sev->cbitpos);
|
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);
|
sev->reduced_phys_bits);
|
||||||
virBufferAdjustIndent(buf, -2);
|
virBufferAdjustIndent(buf, -2);
|
||||||
virBufferAddLit(buf, "</sev>\n");
|
virBufferAddLit(buf, "</sev>\n");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user