[PATCH 08/10] Rename virDomainSevDefPtr to virDomainSEVDefPtr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Some identifiers use Sev, some SEV. Prefer the latter.

Signed-off-by: Ján Tomko <jtomko@xxxxxxxxxx>
---
 src/conf/domain_conf.c  | 8 ++++----
 src/conf/domain_conf.h  | 8 ++++----
 src/qemu/qemu_command.c | 2 +-
 src/qemu/qemu_process.c | 2 +-
 4 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/src/conf/domain_conf.c b/src/conf/domain_conf.c
index ac5484d070..5c3b20fb21 100644
--- a/src/conf/domain_conf.c
+++ b/src/conf/domain_conf.c
@@ -2962,7 +2962,7 @@ virDomainCachetuneDefFree(virDomainCachetuneDefPtr cachetune)
 
 
 static void
-virDomainSEVDefFree(virDomainSevDefPtr def)
+virDomainSEVDefFree(virDomainSEVDefPtr def)
 {
     if (!def)
         return;
@@ -15845,14 +15845,14 @@ virDomainMemoryTargetDefParseXML(xmlNodePtr node,
 }
 
 
-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;
@@ -26766,7 +26766,7 @@ virDomainKeyWrapDefFormat(virBufferPtr buf, virDomainKeyWrapDefPtr keywrap)
 
 
 static void
-virDomainSEVDefFormat(virBufferPtr buf, virDomainSevDefPtr sev)
+virDomainSEVDefFormat(virBufferPtr buf, virDomainSEVDefPtr sev)
 {
     if (!sev)
         return;
diff --git a/src/conf/domain_conf.h b/src/conf/domain_conf.h
index ea8ddb2b39..6344c02d1c 100644
--- a/src/conf/domain_conf.h
+++ b/src/conf/domain_conf.h
@@ -2324,10 +2324,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;
@@ -2529,7 +2529,7 @@ struct _virDomainDef {
     virDomainKeyWrapDefPtr keywrap;
 
     /* SEV-specific domain */
-    virDomainSevDefPtr sev;
+    virDomainSEVDefPtr sev;
 
     /* Application-specific custom metadata */
     xmlNodePtr metadata;
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index 6a95344fd5..1cb721c152 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -9692,7 +9692,7 @@ qemuBuildTPMCommandLine(virCommandPtr cmd,
 
 static int
 qemuBuildSevCommandLine(virDomainObjPtr vm, virCommandPtr cmd,
-                        virDomainSevDefPtr sev)
+                        virDomainSEVDefPtr sev)
 {
     virBuffer obj = VIR_BUFFER_INITIALIZER;
     qemuDomainObjPrivatePtr priv = vm->privateData;
diff --git a/src/qemu/qemu_process.c b/src/qemu/qemu_process.c
index 7468e14447..36ca365a72 100644
--- a/src/qemu/qemu_process.c
+++ b/src/qemu/qemu_process.c
@@ -5854,7 +5854,7 @@ qemuProcessPrepareSevGuestInput(virDomainObjPtr vm)
     qemuDomainObjPrivatePtr priv = vm->privateData;
     virDomainDefPtr def = vm->def;
     virQEMUCapsPtr qemuCaps = priv->qemuCaps;
-    virDomainSevDefPtr sev = def->sev;
+    virDomainSEVDefPtr sev = def->sev;
 
     if (!sev)
         return 0;
-- 
2.16.1

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux