mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-11 15:27:47 +00:00
qemu: Rename qemuBuildShmemDevStr to qemuBuildShmemDevLegacyStr
This will make sense after adding support for newer device types. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
parent
c7e0a6a667
commit
bf854ae3f1
@ -8504,9 +8504,9 @@ qemuBuildSmartcardCommandLine(virLogManagerPtr logManager,
|
||||
|
||||
|
||||
static char *
|
||||
qemuBuildShmemDevStr(virDomainDefPtr def,
|
||||
virDomainShmemDefPtr shmem,
|
||||
virQEMUCapsPtr qemuCaps)
|
||||
qemuBuildShmemDevLegacyStr(virDomainDefPtr def,
|
||||
virDomainShmemDefPtr shmem,
|
||||
virQEMUCapsPtr qemuCaps)
|
||||
{
|
||||
virBuffer buf = VIR_BUFFER_INITIALIZER;
|
||||
|
||||
@ -8605,7 +8605,7 @@ qemuBuildShmemCommandLine(virLogManagerPtr logManager,
|
||||
{
|
||||
char *devstr = NULL;
|
||||
|
||||
if (!(devstr = qemuBuildShmemDevStr(def, shmem, qemuCaps)))
|
||||
if (!(devstr = qemuBuildShmemDevLegacyStr(def, shmem, qemuCaps)))
|
||||
return -1;
|
||||
virCommandAddArgList(cmd, "-device", devstr, NULL);
|
||||
VIR_FREE(devstr);
|
||||
|
Loading…
Reference in New Issue
Block a user