qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH 0/4] target-i386: Helpers for CPUID version


From: Anthony Liguori
Subject: Re: [Qemu-devel] [PATCH 0/4] target-i386: Helpers for CPUID version
Date: Fri, 24 Feb 2012 09:31:24 -0600
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20110922 Lightning/1.0b2 Thunderbird/3.1.15

On 02/17/2012 10:46 AM, Andreas Färber wrote:
Hello x86 gurus,

This series came out of my qom-cpu work. The reasoning is that in a QOM world
we will need this logic twice, once as before and once for
-cpu family=x,model=y,stepping=z,model_id=foo.

Note: The family=x value is not bounds-checked in cpu_x86_find_by_name()!

I'd appreciate if someone could double-check the masks I added. I calculated
them based on "Intel® Processor Identification and the CPUID Instruction.
Application Note 485. January 2011".

Applied. Thanks.

Regards,

Anthony Liguori


Thanks,
Andreas

Cc: Andre Przywara<address@hidden>

Andreas Färber (4):
   target-i386: Introduce x86_cpuid_version_set_family()
   target-i386: Introduce x86_cpuid_version_set_model()
   target-i386: Introduce x86_cpuid_version_set_stepping()
   target-i386: Introduce x86_cpuid_set_model_id()

  target-i386/cpuid.c |   64 +++++++++++++++++++++++++++++++++++----------------
  1 files changed, 44 insertions(+), 20 deletions(-)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]