Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MJaab-0001Be-6U for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:05:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MJaaW-00016N-5B for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:05:08 -0400 Received: from [199.232.76.173] (port=34218 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJaaV-000165-Uf for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:05:03 -0400 Received: from outbound-sin.frontbridge.com ([207.46.51.80]:29385 helo=SG2EHSOBE006.bigfish.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_ARCFOUR_MD5:16) (Exim 4.60) (envelope-from ) id 1MJaaV-0001zD-8U for qemu-devel@nongnu.org; Wed, 24 Jun 2009 18:05:03 -0400 From: Andre Przywara Date: Thu, 25 Jun 2009 00:08:01 +0200 Message-ID: <1245881284-3656-4-git-send-email-andre.przywara@amd.com> In-Reply-To: <1245881284-3656-1-git-send-email-andre.przywara@amd.com> References: <1245881284-3656-1-git-send-email-andre.przywara@amd.com> MIME-Version: 1.0 Content-Type: text/plain Subject: [Qemu-devel] [PATCH 3/6] CPUID Fn8000_0001.EAX is family/model/stepping, not features List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: avi@redhat.com, aliguori@us.ibm.com Cc: Andre Przywara , qemu-devel@nongnu.org Signed-off-by: Andre Przywara --- target-i386/helper.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/target-i386/helper.c b/target-i386/helper.c index d7563f7..d4498e5 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -1651,7 +1651,7 @@ void cpu_x86_cpuid(CPUX86State *env, uint32_t index, uint32_t count, *ecx = env->cpuid_vendor3; break; case 0x80000001: - *eax = env->cpuid_features; + *eax = env->cpuid_version; *ebx = 0; *ecx = env->cpuid_ext3_features; *edx = env->cpuid_ext2_features; -- 1.6.1.3