Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-15-SP1:GA
libvirt.11329
6b90f4bb-rename-virDomainSevDefPtr.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6b90f4bb-rename-virDomainSevDefPtr.patch of Package libvirt.11329
commit 6b90f4bb62db2c6cb284ad5324997e79dd90746b Author: Ján Tomko <jtomko@redhat.com> Date: Tue Jun 12 13:27:16 2018 +0200 Rename virDomainSevDefPtr to virDomainSEVDefPtr Some identifiers use Sev, some SEV. Prefer the latter. 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/src/conf/domain_conf.c =================================================================== --- libvirt-4.0.0.orig/src/conf/domain_conf.c +++ libvirt-4.0.0/src/conf/domain_conf.c @@ -2888,7 +2888,7 @@ virDomainLoaderDefFree(virDomainLoaderDe } static void -virDomainSEVDefFree(virDomainSevDefPtr def) +virDomainSEVDefFree(virDomainSEVDefPtr def) { if (!def) return; @@ -15428,14 +15428,14 @@ virDomainMemoryTargetDefParseXML(xmlNode } -static virDomainSevDefPtr +static virDomainSEVDefPtr virDomainSEVDefParseXML(xmlNodePtr sevNode, xmlXPathContextPtr ctxt) { char *tmp = NULL; char *type = NULL; xmlNodePtr save = ctxt->node; - virDomainSevDefPtr def; + virDomainSEVDefPtr def; unsigned long policy; ctxt->node = sevNode; @@ -25831,7 +25831,7 @@ virDomainKeyWrapDefFormat(virBufferPtr b static void -virDomainSEVDefFormat(virBufferPtr buf, virDomainSevDefPtr sev) +virDomainSEVDefFormat(virBufferPtr buf, virDomainSEVDefPtr sev) { if (!sev) return; Index: libvirt-4.0.0/src/conf/domain_conf.h =================================================================== --- libvirt-4.0.0.orig/src/conf/domain_conf.h +++ libvirt-4.0.0/src/conf/domain_conf.h @@ -2282,10 +2282,10 @@ typedef enum { VIR_DOMAIN_LAUNCH_SECURITY_LAST, } virDomainLaunchSecurity; -typedef struct _virDomainSevDef virDomainSevDef; -typedef virDomainSevDef *virDomainSevDefPtr; +typedef struct _virDomainSEVDef virDomainSEVDef; +typedef virDomainSEVDef *virDomainSEVDefPtr; -struct _virDomainSevDef { +struct _virDomainSEVDef { int sectype; /* enum virDomainLaunchSecurity */ char *dh_cert; char *session; @@ -2462,7 +2462,7 @@ struct _virDomainDef { virDomainKeyWrapDefPtr keywrap; /* SEV-specific domain */ - virDomainSevDefPtr sev; + virDomainSEVDefPtr sev; /* Application-specific custom metadata */ xmlNodePtr metadata; Index: libvirt-4.0.0/src/qemu/qemu_command.c =================================================================== --- libvirt-4.0.0.orig/src/qemu/qemu_command.c +++ libvirt-4.0.0/src/qemu/qemu_command.c @@ -9940,7 +9940,7 @@ qemuBuildTPMCommandLine(virCommandPtr cm static int qemuBuildSevCommandLine(virDomainObjPtr vm, virCommandPtr cmd, - virDomainSevDefPtr sev) + virDomainSEVDefPtr sev) { virBuffer obj = VIR_BUFFER_INITIALIZER; qemuDomainObjPrivatePtr priv = vm->privateData; Index: libvirt-4.0.0/src/qemu/qemu_process.c =================================================================== --- libvirt-4.0.0.orig/src/qemu/qemu_process.c +++ libvirt-4.0.0/src/qemu/qemu_process.c @@ -5611,7 +5611,7 @@ qemuProcessPrepareSevGuestInput(virDomai qemuDomainObjPrivatePtr priv = vm->privateData; virDomainDefPtr def = vm->def; virQEMUCapsPtr qemuCaps = priv->qemuCaps; - virDomainSevDefPtr sev = def->sev; + virDomainSEVDefPtr sev = def->sev; if (!sev) return 0;
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