Received: from eggs.gnu.org ([2001:4830:134:3::10]:40915) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9eZK-0007o0-4k for qemu-devel@nongnu.org; Mon, 29 Jun 2015 15:18:15 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z9eZG-0000nt-2C for qemu-devel@nongnu.org; Mon, 29 Jun 2015 15:18:14 -0400 Received: from mx1.redhat.com ([209.132.183.28]:52900) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z9eZF-0000nR-Ss for qemu-devel@nongnu.org; Mon, 29 Jun 2015 15:18:09 -0400 Date: Mon, 29 Jun 2015 16:18:05 -0300 From: Eduardo Habkost Message-ID: <20150629191805.GB26073@thinpad.lan.raisama.net> References: <1434971282-30871-1-git-send-email-rkrcmar@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <1434971282-30871-1-git-send-email-rkrcmar@redhat.com> Content-Transfer-Encoding: quoted-printable Subject: Re: [Qemu-devel] [PATCH v3] target-i386: emulate CPUID level of real hardware List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Radim =?utf-8?B?S3LEjW3DocWZ?= Cc: pbonzini@redhat.com, bsd@redhat.com, qemu-devel@nongnu.org, rth@twiddle.net On Mon, Jun 22, 2015 at 01:08:02PM +0200, Radim Kr=C4=8Dm=C3=A1=C5=99 wro= te: > W10 insider has a bug where it ignores CPUID level and interprets > CPUID.(EAX=3D07H, ECX=3D0H) incorrectly, because CPUID in fact returned > CPUID.(EAX=3D04H, ECX=3D0H); this resulted in execution of unsupported > instructions. >=20 > While it's a Windows bug, there is no reason to emulate incorrect level= . >=20 > I used http://instlatx64.atw.hu/ as a source of CPUID and checked that > it matches Penryn Xeon X5472, Westmere Xeon W3520, SandyBridge i5-2540M= , > and Haswell i5-4670T. >=20 > kvm64 and qemu64 were bumped to 0xD to allow all available features for > them (and to avoid the same Windows bug). >=20 > Signed-off-by: Radim Kr=C4=8Dm=C3=A1=C5=99 Reviewed-by: Eduardo Habkost Applied to the x86 tree, thanks. --=20 Eduardo