mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 14:15:28 +00:00
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:
parent
2382a23614
commit
2555749fd6
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user