From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jes Sorensen Date: Mon, 11 May 2009 12:15:11 +0000 Subject: [patch] today's qemu-kvm build fix Message-Id: <4A0816CF.8090205@sgi.com> MIME-Version: 1 Content-Type: multipart/mixed; boundary="------------000008060207010502000307" List-Id: To: kvm-ia64@vger.kernel.org This is a multi-part message in MIME format. --------------000008060207010502000307 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, This one is a bit strange, somehow we ended up with a kvm_get_supported_cpuid() in qemu-kvm.c, where it should never have been given it's in target-i386/kvm.c and called only from libkvm-x86.c With this I can build again. Cheers, Jes --------------000008060207010502000307 Content-Type: text/x-patch; name="0008-qemu-cpuid-cleanup.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="0008-qemu-cpuid-cleanup.patch" kvm_arch_get_supported_cpuid() is already defined in target-i386/kvm.c we don't need another copy in qemu-kvm.c, especially as this is x86 specific. Signed-off-by: Jes Sorensen --- qemu-kvm.c | 6 ------ 1 file changed, 6 deletions(-) Index: qemu-kvm/qemu-kvm.c =================================================================== --- qemu-kvm.orig/qemu-kvm.c +++ qemu-kvm/qemu-kvm.c @@ -1400,9 +1400,3 @@ 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); -} --------------000008060207010502000307--