[PATCH 16/20] qemu: Rename qemuBuildShmemBackendStr to qemuBuildShmemBackendChrStr

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

Signed-off-by: Martin Kletzander <mkletzan@xxxxxxxxxx>
---
 src/qemu/qemu_command.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
index aba7dc3db79b..a28d503943d2 100644
--- a/src/qemu/qemu_command.c
+++ b/src/qemu/qemu_command.c
@@ -8598,12 +8598,12 @@ qemuBuildShmemDevLegacyStr(virDomainDefPtr def,
 }

 static char *
-qemuBuildShmemBackendStr(virLogManagerPtr logManager,
-                         virCommandPtr cmd,
-                         virQEMUDriverConfigPtr cfg,
-                         virDomainDefPtr def,
-                         virDomainShmemDefPtr shmem,
-                         virQEMUCapsPtr qemuCaps)
+qemuBuildShmemBackendChrStr(virLogManagerPtr logManager,
+                            virCommandPtr cmd,
+                            virQEMUDriverConfigPtr cfg,
+                            virDomainDefPtr def,
+                            virDomainShmemDefPtr shmem,
+                            virQEMUCapsPtr qemuCaps)
 {
     char *devstr = NULL;

@@ -8674,8 +8674,8 @@ qemuBuildShmemCommandLine(virLogManagerPtr logManager,
     }

     if (shmem->server.enabled) {
-        if (!(devstr = qemuBuildShmemBackendStr(logManager, cmd, cfg, def,
-                                                shmem, qemuCaps)))
+        if (!(devstr = qemuBuildShmemBackendChrStr(logManager, cmd, cfg, def,
+                                                   shmem, qemuCaps)))
             return -1;

         virCommandAddArgList(cmd, "-chardev", devstr, NULL);
-- 
2.10.0

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]