From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:40422) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBWUQ-0001eB-UB for qemu-devel@nongnu.org; Tue, 11 Sep 2012 15:51:19 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TBWUP-0000cJ-S1 for qemu-devel@nongnu.org; Tue, 11 Sep 2012 15:51:18 -0400 Received: from hub021-nj-1.exch021.serverdata.net ([206.225.164.216]:44965) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TBWUP-0000cF-GI for qemu-devel@nongnu.org; Tue, 11 Sep 2012 15:51:17 -0400 Message-ID: <504F9634.3070801@CloudSwitch.Com> Date: Tue, 11 Sep 2012 15:51:16 -0400 From: Don Slutz MIME-Version: 1.0 References: <1346961939-32338-1-git-send-email-ehabkost@redhat.com> <1346961939-32338-2-git-send-email-ehabkost@redhat.com> In-Reply-To: <1346961939-32338-2-git-send-email-ehabkost@redhat.com> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [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: Eduardo Habkost Cc: Igor Mammedov , qemu-devel@nongnu.org, Anthony Liguori , =?ISO-8859-1?Q?Andreas_F=E4rber?= On 09/06/12 16:05, Eduardo Habkost wrote: > 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; Reviewed-by: Don Slutz