|
|
127bba |
From e45e5fbf470bc13beada6c5c3f6027b2af3666dd Mon Sep 17 00:00:00 2001
|
|
|
127bba |
Message-Id: <e45e5fbf470bc13beada6c5c3f6027b2af3666dd@dist-git>
|
|
|
127bba |
From: Martin Kletzander <mkletzan@redhat.com>
|
|
|
127bba |
Date: Fri, 4 Nov 2016 10:29:38 +0100
|
|
|
127bba |
Subject: [PATCH] qemu: Rename qemuBuildShmemDevStr to
|
|
|
127bba |
qemuBuildShmemDevLegacyStr
|
|
|
127bba |
|
|
|
127bba |
This will make sense after adding support for newer device types.
|
|
|
127bba |
|
|
|
127bba |
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
|
|
|
127bba |
(cherry picked from commit bf854ae3f1e47773d9ea0692e9f056629ac9cde4)
|
|
|
127bba |
|
|
|
127bba |
https://bugzilla.redhat.com/show_bug.cgi?id=1392031
|
|
|
127bba |
|
|
|
127bba |
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
|
|
|
127bba |
---
|
|
|
127bba |
src/qemu/qemu_command.c | 8 ++++----
|
|
|
127bba |
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
127bba |
|
|
|
127bba |
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
|
|
|
127bba |
index 4b08b81..a3c9c7a 100644
|
|
|
127bba |
--- a/src/qemu/qemu_command.c
|
|
|
127bba |
+++ b/src/qemu/qemu_command.c
|
|
|
127bba |
@@ -8457,9 +8457,9 @@ qemuBuildSmartcardCommandLine(virLogManagerPtr logManager,
|
|
|
127bba |
|
|
|
127bba |
|
|
|
127bba |
static char *
|
|
|
127bba |
-qemuBuildShmemDevStr(virDomainDefPtr def,
|
|
|
127bba |
- virDomainShmemDefPtr shmem,
|
|
|
127bba |
- virQEMUCapsPtr qemuCaps)
|
|
|
127bba |
+qemuBuildShmemDevLegacyStr(virDomainDefPtr def,
|
|
|
127bba |
+ virDomainShmemDefPtr shmem,
|
|
|
127bba |
+ virQEMUCapsPtr qemuCaps)
|
|
|
127bba |
{
|
|
|
127bba |
virBuffer buf = VIR_BUFFER_INITIALIZER;
|
|
|
127bba |
|
|
|
127bba |
@@ -8558,7 +8558,7 @@ qemuBuildShmemCommandLine(virLogManagerPtr logManager,
|
|
|
127bba |
{
|
|
|
127bba |
char *devstr = NULL;
|
|
|
127bba |
|
|
|
127bba |
- if (!(devstr = qemuBuildShmemDevStr(def, shmem, qemuCaps)))
|
|
|
127bba |
+ if (!(devstr = qemuBuildShmemDevLegacyStr(def, shmem, qemuCaps)))
|
|
|
127bba |
return -1;
|
|
|
127bba |
virCommandAddArgList(cmd, "-device", devstr, NULL);
|
|
|
127bba |
VIR_FREE(devstr);
|
|
|
127bba |
--
|
|
|
127bba |
2.10.2
|
|
|
127bba |
|