From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] add KVM module parameters documentation Date: Tue, 30 Jun 2009 16:03:52 +0300 Message-ID: <4A4A0D38.5070209@redhat.com> References: <1246366445-25030-1-git-send-email-andre.przywara@amd.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Andre Przywara Return-path: Received: from mx2.redhat.com ([66.187.237.31]:47777 "EHLO mx2.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750955AbZF3NCP (ORCPT ); Tue, 30 Jun 2009 09:02:15 -0400 In-Reply-To: <1246366445-25030-1-git-send-email-andre.przywara@amd.com> Sender: kvm-owner@vger.kernel.org List-ID: On 06/30/2009 03:54 PM, Andre Przywara wrote: > Signed-off-by: Andre Przywara > > > diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt > index d77fbd8..097ea9f 100644 > --- a/Documentation/kernel-parameters.txt > +++ b/Documentation/kernel-parameters.txt > @@ -57,6 +57,7 @@ parameter is applicable: > ISAPNP ISA PnP code is enabled. > ISDN Appropriate ISDN support is enabled. > JOY Appropriate joystick support is enabled. > + KVM Kernel Virtual Machine support is enabled. > LIBATA Libata driver is enabled > LP Printer support is enabled. > LOOP Loopback device support is enabled. > @@ -409,6 +410,9 @@ and is between 256 and 4096 characters. It is defined in the file > See drivers/scsi/BusLogic.c, comment before function > BusLogic_ParseDriverOptions(). > > + bypass_guest_pf=[KVM,Intel] Disables bypassing of guest page faults > + on Intel chips. Default is 1 (enabled) > + > I think the syntax for modules is model.option=; there are a few examples. You actually need to use this syntax when the module is built in. > > + enable_unrestricted_guest= > + [KVM,Intel] Disable unrestricted guest feature > + (virtualized real and unpaged mode) on capable > + Intel chips. Default is 1 (enabled) > + > + enable_vpid= [KVM,Intel] Disable Virtual Processor Identification > + feature (tagged TLBs) on capable Intel chips. > + Default is 1 (enabled) > + > enable_vpid and a few other parameters have different names than the variables; they use module_param_named(). -- error compiling committee.c: too many arguments to function