From patchwork Fri Aug 7 09:49:48 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joerg Roedel X-Patchwork-Id: 39818 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n779plYp030836 for ; Fri, 7 Aug 2009 09:51:48 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932405AbZHGJvJ (ORCPT ); Fri, 7 Aug 2009 05:51:09 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S932390AbZHGJvI (ORCPT ); Fri, 7 Aug 2009 05:51:08 -0400 Received: from sg2ehsobe003.messaging.microsoft.com ([207.46.51.77]:8996 "EHLO SG2EHSOBE003.bigfish.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S932357AbZHGJvA (ORCPT ); Fri, 7 Aug 2009 05:51:00 -0400 Received: from mail60-sin-R.bigfish.com (10.210.100.250) by SG2EHSOBE003.bigfish.com (10.210.112.23) with Microsoft SMTP Server id 8.1.340.0; Fri, 7 Aug 2009 09:50:59 +0000 Received: from mail60-sin (localhost.localdomain [127.0.0.1]) by mail60-sin-R.bigfish.com (Postfix) with ESMTP id A79B0BC03AA; Fri, 7 Aug 2009 09:51:46 +0000 (UTC) X-SpamScore: 3 X-BigFish: VPS3(zzzz1202hzzz32i203h43j63h) X-Spam-TCS-SCL: 2:0 Received: by mail60-sin (MessageSwitch) id 1249638698594894_6363; Fri, 7 Aug 2009 09:51:38 +0000 (UCT) Received: from svlb1extmailp02.amd.com (unknown [139.95.251.11]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail60-sin.bigfish.com (Postfix) with ESMTP id 0345711F8063; Fri, 7 Aug 2009 09:50:59 +0000 (UTC) Received: from svlb1twp02.amd.com ([139.95.250.35]) by svlb1extmailp02.amd.com (Switch-3.2.7/Switch-3.2.7) with ESMTP id n779o1Q8012665; Fri, 7 Aug 2009 02:50:04 -0700 X-WSS-ID: 0KO03BD-04-L8L-01 Received: from SSVLEXBH2.amd.com (ssvlexbh2.amd.com [139.95.53.183]) by svlb1twp02.amd.com (Tumbleweed MailGate 3.5.1) with ESMTP id 2C86A1103C0; Fri, 7 Aug 2009 02:50:00 -0700 (PDT) Received: from SSVLEXMB1.amd.com ([139.95.53.181]) by SSVLEXBH2.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 7 Aug 2009 02:50:03 -0700 Received: from SF30EXMB1.amd.com ([172.20.6.49]) by SSVLEXMB1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 7 Aug 2009 02:50:03 -0700 Received: from seurexmb1.amd.com ([165.204.9.130]) by SF30EXMB1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 7 Aug 2009 11:49:54 +0200 Received: from lemmy.amd.com ([165.204.15.93]) by seurexmb1.amd.com with Microsoft SMTPSVC(6.0.3790.3959); Fri, 7 Aug 2009 11:49:51 +0200 Received: by lemmy.amd.com (Postfix, from userid 41430) id 026BCC9FFC; Fri, 7 Aug 2009 11:49:51 +0200 (CEST) From: Joerg Roedel To: Avi Kivity CC: Alexander Graf , kvm@vger.kernel.org, linux-kernel@vger.kernel.org, Joerg Roedel Subject: [PATCH 21/21] kvm/svm: enable nested svm by default Date: Fri, 7 Aug 2009 11:49:48 +0200 Message-ID: <1249638588-10982-22-git-send-email-joerg.roedel@amd.com> X-Mailer: git-send-email 1.6.3.3 In-Reply-To: <1249638588-10982-1-git-send-email-joerg.roedel@amd.com> References: <1249638588-10982-1-git-send-email-joerg.roedel@amd.com> X-OriginalArrivalTime: 07 Aug 2009 09:49:51.0311 (UTC) FILETIME=[68923DF0:01CA1744] MIME-Version: 1.0 Sender: kvm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: kvm@vger.kernel.org Nested SVM is (in my experience) stable enough to be enabled by default. So omit the requirement to pass a module parameter. Signed-off-by: Joerg Roedel --- arch/x86/kvm/svm.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/arch/x86/kvm/svm.c b/arch/x86/kvm/svm.c index 8b32cc8..8a28956 100644 --- a/arch/x86/kvm/svm.c +++ b/arch/x86/kvm/svm.c @@ -125,7 +125,7 @@ static int npt = 1; module_param(npt, int, S_IRUGO); -static int nested = 0; +static int nested = 1; module_param(nested, int, S_IRUGO); static void svm_flush_tlb(struct kvm_vcpu *vcpu);