|
|
127bba |
From 93fc1569d49857d0cfc28b24c29b9e1f3dc94a01 Mon Sep 17 00:00:00 2001
|
|
|
127bba |
Message-Id: <93fc1569d49857d0cfc28b24c29b9e1f3dc94a01@dist-git>
|
|
|
127bba |
From: Martin Kletzander <mkletzan@redhat.com>
|
|
|
127bba |
Date: Fri, 4 Nov 2016 10:29:37 +0100
|
|
|
127bba |
Subject: [PATCH] qemu: Make qemuBuildShmemDevStr static
|
|
|
127bba |
|
|
|
127bba |
It isn't used anywhere else.
|
|
|
127bba |
|
|
|
127bba |
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
|
|
|
127bba |
(cherry picked from commit c7e0a6a667de26c86910c6b1c65810b6762fdd05)
|
|
|
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 | 2 +-
|
|
|
127bba |
src/qemu/qemu_command.h | 4 ----
|
|
|
127bba |
2 files changed, 1 insertion(+), 5 deletions(-)
|
|
|
127bba |
|
|
|
127bba |
diff --git a/src/qemu/qemu_command.c b/src/qemu/qemu_command.c
|
|
|
127bba |
index 7abe213..4b08b81 100644
|
|
|
127bba |
--- a/src/qemu/qemu_command.c
|
|
|
127bba |
+++ b/src/qemu/qemu_command.c
|
|
|
127bba |
@@ -8456,7 +8456,7 @@ qemuBuildSmartcardCommandLine(virLogManagerPtr logManager,
|
|
|
127bba |
}
|
|
|
127bba |
|
|
|
127bba |
|
|
|
127bba |
-char *
|
|
|
127bba |
+static char *
|
|
|
127bba |
qemuBuildShmemDevStr(virDomainDefPtr def,
|
|
|
127bba |
virDomainShmemDefPtr shmem,
|
|
|
127bba |
virQEMUCapsPtr qemuCaps)
|
|
|
127bba |
diff --git a/src/qemu/qemu_command.h b/src/qemu/qemu_command.h
|
|
|
127bba |
index 36cfc51..7f33d83 100644
|
|
|
127bba |
--- a/src/qemu/qemu_command.h
|
|
|
127bba |
+++ b/src/qemu/qemu_command.h
|
|
|
127bba |
@@ -143,10 +143,6 @@ int qemuBuildRNGBackendProps(virDomainRNGDefPtr rng,
|
|
|
127bba |
const char **type,
|
|
|
127bba |
virJSONValuePtr *props);
|
|
|
127bba |
|
|
|
127bba |
-char *qemuBuildShmemDevStr(virDomainDefPtr def,
|
|
|
127bba |
- virDomainShmemDefPtr shmem,
|
|
|
127bba |
- virQEMUCapsPtr qemuCaps);
|
|
|
127bba |
-
|
|
|
127bba |
int qemuOpenPCIConfig(virDomainHostdevDefPtr dev);
|
|
|
127bba |
|
|
|
127bba |
/* Current, best practice */
|
|
|
127bba |
--
|
|
|
127bba |
2.10.2
|
|
|
127bba |
|