提交 2555749f 编写于 作者: J Ján Tomko

rename qemuBuildSevCreateFile to qemuProcessSEVCreateFile

Make the function prefix match the file it's in.
Signed-off-by: NJán Tomko <jtomko@redhat.com>
Reviewed-by: NBrijesh Singh <brijesh.singh@amd.com>
Tested-by: NBrijesh Singh <brijesh.singh@amd.com>
Reviewed-by: NDaniel P. Berrangé <berrange@redhat.com>
上级 2382a236
...@@ -5826,7 +5826,7 @@ qemuProcessPrepareDomain(virQEMUDriverPtr driver, ...@@ -5826,7 +5826,7 @@ qemuProcessPrepareDomain(virQEMUDriverPtr driver,
static int static int
qemuBuildSevCreateFile(const char *configDir, qemuProcessSEVCreateFile(const char *configDir,
const char *name, const char *name,
const char *data) const char *data)
{ {
...@@ -5871,12 +5871,12 @@ qemuProcessPrepareSevGuestInput(virDomainObjPtr vm) ...@@ -5871,12 +5871,12 @@ qemuProcessPrepareSevGuestInput(virDomainObjPtr vm)
} }
if (sev->dh_cert) { if (sev->dh_cert) {
if (qemuBuildSevCreateFile(priv->libDir, "dh_cert", sev->dh_cert) < 0) if (qemuProcessSEVCreateFile(priv->libDir, "dh_cert", sev->dh_cert) < 0)
return -1; return -1;
} }
if (sev->session) { if (sev->session) {
if (qemuBuildSevCreateFile(priv->libDir, "session", sev->session) < 0) if (qemuProcessSEVCreateFile(priv->libDir, "session", sev->session) < 0)
return -1; return -1;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册