Defined in sysemu.h, included by qemu-kvm.c

  qemu/qemu-kvm.c:41: warning: redundant redeclaration of ‘smp_cpus’
  qemu/sysemu.h:98: warning: previous declaration of ‘smp_cpus’ was here
  qemu/qemu-kvm.c:219: warning: redundant redeclaration of ‘vm_running’
  qemu/sysemu.h:9: warning: previous declaration of ‘vm_running’ was here

Signed-off-by: Mark McLoughlin <[email protected]>
---
 qemu/qemu-kvm.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/qemu/qemu-kvm.c b/qemu/qemu-kvm.c
index e54ace7..7b81d0f 100644
--- a/qemu/qemu-kvm.c
+++ b/qemu/qemu-kvm.c
@@ -35,8 +35,6 @@ int kvm_pit_reinject = 1;
 int kvm_nested = 0;
 kvm_context_t kvm_context;
 
-extern int smp_cpus;
-
 pthread_mutex_t qemu_mutex = PTHREAD_MUTEX_INITIALIZER;
 pthread_cond_t qemu_vcpu_cond = PTHREAD_COND_INITIALIZER;
 pthread_cond_t qemu_system_cond = PTHREAD_COND_INITIALIZER;
@@ -213,8 +211,6 @@ int kvm_cpu_exec(CPUState *env)
     return 0;
 }
 
-extern int vm_running;
-
 static int has_work(CPUState *env)
 {
     if (!vm_running || (env && env->kvm_cpu_state.stopped))
-- 
1.6.0.6

--
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

Reply via email to