From patchwork Wed Mar 3 19:15:41 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joerg Roedel X-Patchwork-Id: 83456 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.3/8.14.3) with ESMTP id o23JXBj5012485 for ; Wed, 3 Mar 2010 19:33:11 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756326Ab0CCTdJ (ORCPT ); Wed, 3 Mar 2010 14:33:09 -0500 Received: from va3ehsobe004.messaging.microsoft.com ([216.32.180.14]:45081 "EHLO VA3EHSOBE004.bigfish.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1756311Ab0CCTdI (ORCPT ); Wed, 3 Mar 2010 14:33:08 -0500 Received: from mail147-va3-R.bigfish.com (10.7.14.247) by VA3EHSOBE004.bigfish.com (10.7.40.24) with Microsoft SMTP Server id 8.1.240.5; Wed, 3 Mar 2010 19:33:07 +0000 Received: from mail147-va3 (localhost [127.0.0.1]) by mail147-va3-R.bigfish.com (Postfix) with ESMTP id D1EE51A02CE; Wed, 3 Mar 2010 19:33:06 +0000 (UTC) X-SpamScore: -4 X-BigFish: VPS-4(zz936eMab9bhzz1202hzzz32i6bh2a8h87h63h) X-Spam-TCS-SCL: 2:0 X-FB-DOMAIN-IP-MATCH: fail Received: from mail147-va3 (localhost.localdomain [127.0.0.1]) by mail147-va3 (MessageSwitch) id 126764478526062_11745; Wed, 3 Mar 2010 19:33:05 +0000 (UTC) Received: from VA3EHSMHS033.bigfish.com (unknown [10.7.14.254]) by mail147-va3.bigfish.com (Postfix) with ESMTP id EF516D40052; Wed, 3 Mar 2010 19:33:04 +0000 (UTC) Received: from ausb3extmailp02.amd.com (163.181.251.22) by VA3EHSMHS033.bigfish.com (10.7.99.43) with Microsoft SMTP Server (TLS) id 14.0.482.39; Wed, 3 Mar 2010 19:33:02 +0000 Received: from ausb3twp01.amd.com (ausb3twp01.amd.com [163.181.250.37]) by ausb3extmailp02.amd.com (Switch-3.2.7/Switch-3.2.7) with SMTP id o23JaH48009484; Wed, 3 Mar 2010 13:36:21 -0600 X-WSS-ID: 0KYQ0YO-01-N34-02 X-M-MSG: Received: from sausexbh2.amd.com (SAUSEXBH2.amd.com [163.181.22.102]) by ausb3twp01.amd.com (Tumbleweed MailGate 3.7.2) with ESMTP id 26F36102869C; Wed, 3 Mar 2010 13:32:48 -0600 (CST) Received: from sausexmb1.amd.com ([163.181.3.156]) by sausexbh2.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 3 Mar 2010 13:15:50 -0600 Received: from seurexmb1.amd.com ([165.204.9.130]) by sausexmb1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 3 Mar 2010 13:15:50 -0600 Received: from lemmy.osrc.amd.com ([165.204.15.93]) by seurexmb1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Wed, 3 Mar 2010 20:15:43 +0100 Received: by lemmy.osrc.amd.com (Postfix, from userid 41430) id D171DC9A5D; Wed, 3 Mar 2010 20:15:43 +0100 (CET) From: Joerg Roedel To: Avi Kivity , Marcelo Tosatti CC: Alexander Graf , kvm@vger.kernel.org, Joerg Roedel Subject: [PATCH 1/2] QEMU-KVM: Fix ext3_feature propagation Date: Wed, 3 Mar 2010 20:15:41 +0100 Message-ID: <1267643742-616-2-git-send-email-joerg.roedel@amd.com> X-Mailer: git-send-email 1.7.0 In-Reply-To: <1267643742-616-1-git-send-email-joerg.roedel@amd.com> References: <1267643742-616-1-git-send-email-joerg.roedel@amd.com> X-OriginalArrivalTime: 03 Mar 2010 19:15:43.0913 (UTC) FILETIME=[EBD22990:01CABB05] MIME-Version: 1.0 X-Reverse-DNS: ausb3extmailp02.amd.com Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Wed, 03 Mar 2010 19:33:11 +0000 (UTC) diff --git a/target-i386/helper.c b/target-i386/helper.c index e595a3e..73d8389 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -759,6 +759,7 @@ static int cpu_x86_register (CPUX86State *env, const char *cpu_model) env->pat = 0x0007040600070406ULL; env->cpuid_ext_features = def->ext_features; env->cpuid_ext2_features = def->ext2_features; + env->cpuid_ext3_features = def->ext3_features; env->cpuid_xlevel = def->xlevel; env->cpuid_kvm_features = def->kvm_features; {