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