From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:34400) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9iJh-0001m4-3l for qemu-devel@nongnu.org; Thu, 06 Sep 2012 16:04:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T9iJg-0000kf-3p for qemu-devel@nongnu.org; Thu, 06 Sep 2012 16:04:45 -0400 Received: from mx1.redhat.com ([209.132.183.28]:9096) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T9iJf-0000kT-RL for qemu-devel@nongnu.org; Thu, 06 Sep 2012 16:04:44 -0400 From: Eduardo Habkost Date: Thu, 6 Sep 2012 17:05:35 -0300 Message-Id: <1346961939-32338-2-git-send-email-ehabkost@redhat.com> In-Reply-To: <1346961939-32338-1-git-send-email-ehabkost@redhat.com> References: <1346961939-32338-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 1/5] i386: kvm: bit 10 of CPUID[8000_0001].EDX is reserved List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Igor Mammedov , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Anthony Liguori Bit 10 of CPUID[8000_0001].EDX is not defined as an alias of CPUID[1].EDX[10], so do not duplicate it on kvm_arch_get_supported_cpuid(). Signed-off-by: Eduardo Habkost Reviewed-By: Igor Mammedov --- target-i386/kvm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target-i386/kvm.c b/target-i386/kvm.c index ffc294e..294af5f 100644 --- a/target-i386/kvm.c +++ b/target-i386/kvm.c @@ -164,7 +164,7 @@ uint32_t kvm_arch_get_supported_cpuid(KVMState *s, uint32_t function, * so add missing bits according to the AMD spec: */ cpuid_1_edx = kvm_arch_get_supported_cpuid(s, 1, 0, R_EDX); - ret |= cpuid_1_edx & 0x183f7ff; + ret |= cpuid_1_edx & 0x183f3ff; break; } break; -- 1.7.11.4