mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 04:55:18 +00:00
qemu: Move qemuDomainNVRAMPathFormat() to qemu_firmware
There are no other callers remaining. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
9567f3ba1f
commit
d4383682c4
@ -11356,15 +11356,6 @@ qemuDomainDiskIsMissingLocalOptional(virDomainDiskDef *disk)
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
qemuDomainNVRAMPathFormat(virQEMUDriverConfig *cfg,
|
||||
virDomainDef *def,
|
||||
char **path)
|
||||
{
|
||||
*path = g_strdup_printf("%s/%s_VARS.fd", cfg->nvramDir, def->name);
|
||||
}
|
||||
|
||||
|
||||
virDomainEventSuspendedDetailType
|
||||
qemuDomainPausedReasonToSuspendedEvent(virDomainPausedReason reason)
|
||||
{
|
||||
|
@ -1043,11 +1043,6 @@ qemuDomainRunningReasonToResumeEvent(virDomainRunningReason reason);
|
||||
bool
|
||||
qemuDomainDiskIsMissingLocalOptional(virDomainDiskDef *disk);
|
||||
|
||||
void
|
||||
qemuDomainNVRAMPathFormat(virQEMUDriverConfig *cfg,
|
||||
virDomainDef *def,
|
||||
char **path);
|
||||
|
||||
virDomainEventSuspendedDetailType
|
||||
qemuDomainPausedReasonToSuspendedEvent(virDomainPausedReason reason);
|
||||
|
||||
|
@ -979,6 +979,15 @@ qemuFirmwareOSInterfaceTypeFromOsDefLoaderType(virDomainLoader type)
|
||||
}
|
||||
|
||||
|
||||
static void
|
||||
qemuDomainNVRAMPathFormat(virQEMUDriverConfig *cfg,
|
||||
virDomainDef *def,
|
||||
char **path)
|
||||
{
|
||||
*path = g_strdup_printf("%s/%s_VARS.fd", cfg->nvramDir, def->name);
|
||||
}
|
||||
|
||||
|
||||
#define VIR_QEMU_FIRMWARE_AMD_SEV_ES_POLICY (1 << 2)
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user