Signed-off-by: Jan Kiszka <[email protected]>
---
cpus.c | 26 +-------------------------
1 files changed, 1 insertions(+), 25 deletions(-)
diff --git a/cpus.c b/cpus.c
index 383d359..bf666b0 100644
--- a/cpus.c
+++ b/cpus.c
@@ -913,7 +913,6 @@ int qemu_cpu_is_self(void *_env)
return qemu_thread_is_self(env->thread);
}
-#ifdef UNUSED_IOTHREAD_IMPL
void qemu_mutex_lock_iothread(void)
{
if (kvm_enabled()) {
@@ -933,6 +932,7 @@ void qemu_mutex_unlock_iothread(void)
qemu_mutex_unlock(&qemu_global_mutex);
}
+#ifdef UNUSED_IOTHREAD_IMPL
static int all_vcpus_paused(void)
{
CPUState *penv = first_cpu;
@@ -1574,30 +1574,6 @@ int kvm_main_loop(void)
return 0;
}
-static void kvm_mutex_unlock(void)
-{
- qemu_mutex_unlock(&qemu_global_mutex);
-}
-
-static void kvm_mutex_lock(void)
-{
- qemu_mutex_lock(&qemu_global_mutex);
-}
-
-void qemu_mutex_unlock_iothread(void)
-{
- if (kvm_enabled()) {
- kvm_mutex_unlock();
- }
-}
-
-void qemu_mutex_lock_iothread(void)
-{
- if (kvm_enabled()) {
- kvm_mutex_lock();
- }
-}
-
static void qemu_kvm_init_main_loop(void)
{
qemu_cond_init(&qemu_cpu_cond);
--
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