rename qemuBuildSevCreateFile to qemuProcessSEVCreateFile

Make the function prefix match the file it's in.

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>
This commit is contained in:
Ján Tomko 2018-06-12 13:39:21 +02:00
parent 2382a23614
commit 2555749fd6

View File

@ -5826,9 +5826,9 @@ qemuProcessPrepareDomain(virQEMUDriverPtr driver,
static int
qemuBuildSevCreateFile(const char *configDir,
const char *name,
const char *data)
qemuProcessSEVCreateFile(const char *configDir,
const char *name,
const char *data)
{
char *configFile;
@ -5871,12 +5871,12 @@ qemuProcessPrepareSevGuestInput(virDomainObjPtr vm)
}
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;
}
if (sev->session) {
if (qemuBuildSevCreateFile(priv->libDir, "session", sev->session) < 0)
if (qemuProcessSEVCreateFile(priv->libDir, "session", sev->session) < 0)
return -1;
}