Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP7:GA
libvirt.11425
a95b99d0-rename-reducedPhysBits.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File a95b99d0-rename-reducedPhysBits.patch of Package libvirt.11425
commit a95b99d0308afa875bb8e3f9dce8c7bdbd38ddad Author: Ján Tomko <jtomko@redhat.com> Date: Tue Jun 12 13:38:19 2018 +0200 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> Index: libvirt-4.0.0/docs/formatdomaincaps.html.in =================================================================== --- libvirt-4.0.0.orig/docs/formatdomaincaps.html.in +++ libvirt-4.0.0/docs/formatdomaincaps.html.in @@ -466,7 +466,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> Index: libvirt-4.0.0/docs/schemas/domaincaps.rng =================================================================== --- libvirt-4.0.0.orig/docs/schemas/domaincaps.rng +++ libvirt-4.0.0/docs/schemas/domaincaps.rng @@ -192,7 +192,7 @@ <element name='cbitpos'> <data type='unsignedInt'/> </element> - <element name='reduced-phys-bits'> + <element name='reducedPhysBits'> <data type='unsignedInt'/> </element> </element> Index: libvirt-4.0.0/src/conf/domain_capabilities.c =================================================================== --- libvirt-4.0.0.orig/src/conf/domain_capabilities.c +++ libvirt-4.0.0/src/conf/domain_capabilities.c @@ -572,7 +572,7 @@ virDomainCapsFeatureSEVFormat(virBufferP 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");
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor