#ifndef QEMU_KVM_H
#define QEMU_KVM_H
-#include "config.h"
+#include "config-host.h"
#include "qemu-queue.h"
-#ifdef CONFIG_KVM
extern int kvm_allowed;
+#ifdef CONFIG_KVM
#define kvm_enabled() (kvm_allowed)
#else
#define kvm_enabled() (0)
int kvm_init(int smp_cpus);
+#ifdef NEED_CPU_H
int kvm_init_vcpu(CPUState *env);
int kvm_cpu_exec(CPUState *env);
kvm_cpu_synchronize_post_init(env);
}
}
-
+#endif
#endif