From 5b897a3a45040694c5a69557436414739ab854e5 Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Mon, 11 May 2009 14:36:30 +0200 Subject: [PATCH] Fix ia64 build on kvm_arch_get_supported_cpuid() kvm_arch_get_supported_cpuid() doesn't belong in qemu-kvm.c as it is just an x86 specific build workaround. Signed-off-by: Jes Sorensen Signed-off-by: Avi Kivity --- qemu-kvm-x86.c | 6 ++++++ qemu-kvm.c | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/qemu-kvm-x86.c b/qemu-kvm-x86.c index 8cb6faa0a8..856b70c4e0 100644 --- a/qemu-kvm-x86.c +++ b/qemu-kvm-x86.c @@ -887,3 +887,9 @@ int kvm_arch_init_irq_routing(void) } return 0; } + +uint32_t kvm_arch_get_supported_cpuid(CPUState *env, uint32_t function, + int reg) +{ + return kvm_get_supported_cpuid(kvm_context, function, reg); +} diff --git a/qemu-kvm.c b/qemu-kvm.c index f55cee8b02..d6d02534f6 100644 --- a/qemu-kvm.c +++ b/qemu-kvm.c @@ -1425,9 +1425,3 @@ void qemu_kvm_cpu_stop(CPUState *env) if (kvm_enabled()) env->kvm_cpu_state.stopped = 1; } - -uint32_t kvm_arch_get_supported_cpuid(CPUState *env, uint32_t function, - int reg) -{ - return kvm_get_supported_cpuid(kvm_context, function, reg); -} -- 2.11.4.GIT