]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
domaincaps: rename reduced-phys-bits to reducedPhysBits
authorJán Tomko <jtomko@redhat.com>
Tue, 12 Jun 2018 11:38:19 +0000 (13:38 +0200)
committerJán Tomko <jtomko@redhat.com>
Wed, 13 Jun 2018 12:41:46 +0000 (14:41 +0200)
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>
docs/formatdomaincaps.html.in
docs/schemas/domaincaps.rng
src/conf/domain_capabilities.c

index 6be553a114347524662c7d72af718a8d49b8447a..9920de4dac94a6ec0b9ccb374af62c6597469101 100644 (file)
       <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>
index 1d0a2e17aad6686cabf523923d46e999d54e3f02..e25201fc68c97f85b28d880975351c06c333b007 100644 (file)
       <element name='cbitpos'>
         <data type='unsignedInt'/>
       </element>
-      <element name='reduced-phys-bits'>
+      <element name='reducedPhysBits'>
         <data type='unsignedInt'/>
       </element>
     </element>
index ec469bfb9a75c4be42dfbcf33c24e943a23c3d20..e5d943af5059bbdab2a7c2202aefb0903ccd9dc8 100644 (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");