Signed-off-by: Paolo Bonzini <[email protected]>
---
qemu-kvm.c | 4 ++--
qemu-kvm.h | 3 ---
2 files changed, 2 insertions(+), 5 deletions(-)
diff --git a/qemu-kvm.c b/qemu-kvm.c
index 96d458c..f46c394 100644
--- a/qemu-kvm.c
+++ b/qemu-kvm.c
@@ -1798,13 +1798,13 @@ int kvm_set_irq(int irq, int level, int *status)
#endif
-void kvm_mutex_unlock(void)
+static void kvm_mutex_unlock(void)
{
assert(!cpu_single_env);
pthread_mutex_unlock(&qemu_mutex);
}
-void kvm_mutex_lock(void)
+static void kvm_mutex_lock(void)
{
pthread_mutex_lock(&qemu_mutex);
cpu_single_env = NULL;
diff --git a/qemu-kvm.h b/qemu-kvm.h
index c08e9b8..6b26daa 100644
--- a/qemu-kvm.h
+++ b/qemu-kvm.h
@@ -893,9 +893,6 @@ int handle_tpr_access(void *opaque, CPUState *env, uint64_t
rip,
#define qemu_kvm_cpu_stop(env) do {} while(0)
#endif
-void kvm_mutex_unlock(void);
-void kvm_mutex_lock(void);
-
#ifdef CONFIG_KVM
typedef struct KVMSlot {
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html