|
|
3e5111 |
From abb3d4b218479bb4609a208491448bc70b0d356d Mon Sep 17 00:00:00 2001
|
|
|
3e5111 |
Message-Id: <abb3d4b218479bb4609a208491448bc70b0d356d@dist-git>
|
|
|
3e5111 |
From: Peter Krempa <pkrempa@redhat.com>
|
|
|
3e5111 |
Date: Thu, 20 Apr 2017 11:33:09 +0200
|
|
|
3e5111 |
Subject: [PATCH] qemu: hotplug: Unexport qemuDomainHotplugDelVcpu
|
|
|
3e5111 |
|
|
|
3e5111 |
The function is used only in the hotplug module.
|
|
|
3e5111 |
|
|
|
3e5111 |
(cherry picked from commit f24dc5e2c2ad184e64d8e80f196cee5006fc7e10)
|
|
|
3e5111 |
|
|
|
3e5111 |
https://bugzilla.redhat.com/show_bug.cgi?id=1439452
|
|
|
3e5111 |
---
|
|
|
3e5111 |
src/qemu/qemu_hotplug.c | 2 +-
|
|
|
3e5111 |
src/qemu/qemu_hotplug.h | 3 ---
|
|
|
3e5111 |
2 files changed, 1 insertion(+), 4 deletions(-)
|
|
|
3e5111 |
|
|
|
3e5111 |
diff --git a/src/qemu/qemu_hotplug.c b/src/qemu/qemu_hotplug.c
|
|
|
3e5111 |
index 37b8d455c..79d0dc94e 100644
|
|
|
3e5111 |
--- a/src/qemu/qemu_hotplug.c
|
|
|
3e5111 |
+++ b/src/qemu/qemu_hotplug.c
|
|
|
3e5111 |
@@ -5384,7 +5384,7 @@ qemuDomainRemoveVcpuAlias(virQEMUDriverPtr driver,
|
|
|
3e5111 |
}
|
|
|
3e5111 |
|
|
|
3e5111 |
|
|
|
3e5111 |
-int
|
|
|
3e5111 |
+static int
|
|
|
3e5111 |
qemuDomainHotplugDelVcpu(virQEMUDriverPtr driver,
|
|
|
3e5111 |
virDomainObjPtr vm,
|
|
|
3e5111 |
unsigned int vcpu)
|
|
|
3e5111 |
diff --git a/src/qemu/qemu_hotplug.h b/src/qemu/qemu_hotplug.h
|
|
|
3e5111 |
index f06f232bb..985c6733f 100644
|
|
|
3e5111 |
--- a/src/qemu/qemu_hotplug.h
|
|
|
3e5111 |
+++ b/src/qemu/qemu_hotplug.h
|
|
|
3e5111 |
@@ -140,9 +140,6 @@ int qemuDomainDetachRNGDevice(virQEMUDriverPtr driver,
|
|
|
3e5111 |
virDomainObjPtr vm,
|
|
|
3e5111 |
virDomainRNGDefPtr rng);
|
|
|
3e5111 |
|
|
|
3e5111 |
-int qemuDomainHotplugDelVcpu(virQEMUDriverPtr driver,
|
|
|
3e5111 |
- virDomainObjPtr vm,
|
|
|
3e5111 |
- unsigned int vcpu);
|
|
|
3e5111 |
void qemuDomainRemoveVcpuAlias(virQEMUDriverPtr driver,
|
|
|
3e5111 |
virDomainObjPtr vm,
|
|
|
3e5111 |
const char *alias);
|
|
|
3e5111 |
--
|
|
|
3e5111 |
2.12.2
|
|
|
3e5111 |
|