From: 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> References: <1267643742-616-1-git-send-email-joerg.roedel@amd.com> Mime-Version: 1.0 Content-Type: text/plain Cc: Alexander Graf , kvm@vger.kernel.org, Joerg Roedel To: Avi Kivity , Marcelo Tosatti Return-path: 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 In-Reply-To: <1267643742-616-1-git-send-email-joerg.roedel@amd.com> Sender: kvm-owner@vger.kernel.org List-ID: This patch fixes the propagation of the ext3_features from the qemu cpu-model to kvm. This is required for the guest to see the svm flag. Signed-off-by: Joerg Roedel --- target-i386/helper.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) 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; { -- 1.7.0