mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06: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
|
static int
|
||||||
qemuBuildSevCreateFile(const char *configDir,
|
qemuProcessSEVCreateFile(const char *configDir,
|
||||||
const char *name,
|
const char *name,
|
||||||
const char *data)
|
const char *data)
|
||||||
{
|
{
|
||||||
char *configFile;
|
char *configFile;
|
||||||
|
|
||||||
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user