Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DHSjB-0008Tb-Jq for qemu-devel@nongnu.org; Fri, 01 Apr 2005 15:26:49 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DHSjA-0008TP-Vm for qemu-devel@nongnu.org; Fri, 01 Apr 2005 15:26:49 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DHSjA-0008TM-SC for qemu-devel@nongnu.org; Fri, 01 Apr 2005 15:26:48 -0500 Received: from [212.250.162.17] (helo=mta09-winn.mailhost.ntl.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DHSBJ-0000BI-3K for qemu-devel@nongnu.org; Fri, 01 Apr 2005 14:51:49 -0500 Received: from aamta05-winn.mailhost.ntl.com ([212.250.162.8]) by mta09-winn.mailhost.ntl.com with ESMTP id <20050401195145.RQKX21280.mta09-winn.mailhost.ntl.com@aamta05-winn.mailhost.ntl.com> for ; Fri, 1 Apr 2005 20:51:45 +0100 Received: from localhost.localdomain ([81.107.94.210]) by aamta05-winn.mailhost.ntl.com with ESMTP id <20050401195145.DVVS1280.aamta05-winn.mailhost.ntl.com@localhost.localdomain> for ; Fri, 1 Apr 2005 20:51:45 +0100 Subject: Re: [Qemu-devel] x86 system and x86-64 system emulation From: Antony T Curtis In-Reply-To: References: Content-Type: text/plain Date: Fri, 01 Apr 2005 20:51:42 +0100 Message-Id: <1112385102.27207.5.camel@pcgem.xiphis.org> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org On Fri, 2005-04-01 at 20:29 +0100, Natalia Portillo wrote: > Hi! > > I've just tested a CPU identification program I've made, under QEMU > (x86 and x86_64 guests). > > In QEMU (x86 guest), CPU says it is a "GenuineIntel" Pentium II (family > 6, model 3, stepping 3), but following isn't in concordance: > Pentium II doesn't support nor SSE nor SSE2 and as far as I know also > doesn't support FXSAVE/FXSTOR operands, and supports Virtual-86 Mode > Enhacement. > I think that the CPU model information should be updated, or, doing as > VirtualPC, made it to be a "GenuineQEMU" CPU instead of a > "GenuineIntel". > > In the QEMU (x86-64 guest), CPU says it is a monoprocessor > "AuthenticAMD" Athlon (family 6, model 2, stepping 3) in standard level > and in extended level it says it is a multiprocessor non-existent > "AuthenticAMD" processor (family B, model F, stepping D), and that it > is an enginering sample. > > According to AMD64 Architecture Programmer's Manual, Volume 3, order > #24594, and to AMD Processor Recognition Application Note, order > #20734, it should inform of family F in standard and extended level, > and have an 8-bit brand id in the standard level or an 12-bit brand id > in the extended level (but not both) informing the exact model of > processor. > > Also there is lacking emulation of 3DNow!, AMD extensions to MMX, a > more features that is expected every x86-64 processor have. I don't think Intel's EM64T offering will support 3DNow! - so that would be a very poor assumption to make, given that the two are supposed to be largely compatible technologies. But I would support the idea of returning some different CPUID string - perhaps something lite "QEMUSimulate" or some other 12-character sequence. -- Antony T Curtis, BSc. UNIX, Linux, *BSD, Networking antony.t.curtis@ntlworld.com C++, J2EE, Perl, MySQL, Apache IT Consultancy.