From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=36920 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OJWD2-0001fV-TD for qemu-devel@nongnu.org; Tue, 01 Jun 2010 14:29:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OJWCt-00060d-UW for qemu-devel@nongnu.org; Tue, 01 Jun 2010 14:29:04 -0400 Received: from mail-gw0-f45.google.com ([74.125.83.45]:54354) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OJWCt-0005xJ-PK for qemu-devel@nongnu.org; Tue, 01 Jun 2010 14:28:55 -0400 Received: by mail-gw0-f45.google.com with SMTP id 11so3865518gwb.4 for ; Tue, 01 Jun 2010 11:28:55 -0700 (PDT) Message-ID: <4C05515D.70102@codemonkey.ws> Date: Tue, 01 Jun 2010 13:28:45 -0500 From: Anthony Liguori MIME-Version: 1.0 Subject: Re: [Qemu-devel] [PATCH] resent: x86/cpuid: Add kvm32 CPU model References: <1274428251-10836-1-git-send-email-andre.przywara@amd.com> In-Reply-To: <1274428251-10836-1-git-send-email-andre.przywara@amd.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Andre Przywara Cc: avi@redhat.com, aurelien@aurel32.net, qemu-devel@nongnu.org On 05/21/2010 02:50 AM, Andre Przywara wrote: > Create a kvm32 CPU model that describes a least common denominator > for KVM capable guest CPUs. Useful for migration purposes. > > Signed-off-by: Andre Przywara > Applied. Thanks. Regards, Anthony Liguori > --- > target-i386/cpuid.c | 14 ++++++++++++++ > 1 files changed, 14 insertions(+), 0 deletions(-) > > diff --git a/target-i386/cpuid.c b/target-i386/cpuid.c > index a80baa4..76b897d 100644 > --- a/target-i386/cpuid.c > +++ b/target-i386/cpuid.c > @@ -363,6 +363,20 @@ static x86_def_t builtin_x86_defs[] = { > .model_id = "QEMU Virtual CPU version " QEMU_VERSION, > }, > { > + .name = "kvm32", > + .level = 5, > + .family = 15, > + .model = 6, > + .stepping = 1, > + .features = PPRO_FEATURES | > + CPUID_MTRR | CPUID_CLFLUSH | CPUID_MCA | CPUID_PSE36, > + .ext_features = CPUID_EXT_SSE3, > + .ext2_features = PPRO_FEATURES& EXT2_FEATURE_MASK, > + .ext3_features = 0, > + .xlevel = 0x80000008, > + .model_id = "Common 32-bit KVM processor" > + }, > + { > .name = "coreduo", > .level = 10, > .family = 6, >