qemu: Rename qemuBuildShmemBackendStr to qemuBuildShmemBackendChrStr

There will be more backends in the future so let's not complicate it.

Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
This commit is contained in:
Martin Kletzander 2016-09-13 14:12:29 +02:00
parent 0f61d7b5f2
commit a0c99e1a0a

View File

@ -8551,7 +8551,7 @@ qemuBuildShmemDevLegacyStr(virDomainDefPtr def,
}
static char *
qemuBuildShmemBackendStr(virLogManagerPtr logManager,
qemuBuildShmemBackendChrStr(virLogManagerPtr logManager,
virCommandPtr cmd,
virQEMUDriverConfigPtr cfg,
virDomainDefPtr def,
@ -8612,7 +8612,7 @@ qemuBuildShmemCommandLine(virLogManagerPtr logManager,
VIR_FREE(devstr);
if (shmem->server.enabled) {
if (!(devstr = qemuBuildShmemBackendStr(logManager, cmd, cfg, def,
if (!(devstr = qemuBuildShmemBackendChrStr(logManager, cmd, cfg, def,
shmem, qemuCaps)))
return -1;