* [PATCH] add KVM module parameters documentation
@ 2009-06-30 12:54 Andre Przywara
2009-06-30 13:03 ` Avi Kivity
0 siblings, 1 reply; 4+ messages in thread
From: Andre Przywara @ 2009-06-30 12:54 UTC (permalink / raw)
To: avi; +Cc: kvm, Andre Przywara
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
---
Documentation/kernel-parameters.txt | 38 +++++++++++++++++++++++++++++++++++
1 files changed, 38 insertions(+), 0 deletions(-)
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)
+
c101= [NET] Moxa C101 synchronous serial card
cachesize= [BUGS=X86-32] Override level 2 CPU cache size detection.
@@ -708,6 +712,10 @@ and is between 256 and 4096 characters. It is defined in the file
pass this option to capture kernel.
See Documentation/kdump/kdump.txt for details.
+ emulate_invalid_guest_state=
+ [KVM,Intel] Enable emulation of invalid guest states
+ Default is 0 (disabled)
+
enable_mtrr_cleanup [X86]
The kernel tries to adjust MTRR layout from continuous
to discrete, to make X server driver able to add WB
@@ -719,6 +727,15 @@ and is between 256 and 4096 characters. It is defined in the file
(in particular on some ATI chipsets).
The kernel tries to set a reasonable default.
+ 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)
+
enforcing [SELINUX] Set initial enforcing status.
Format: {"0" | "1"}
See security/selinux/Kconfig help text.
@@ -727,6 +744,10 @@ and is between 256 and 4096 characters. It is defined in the file
Default value is 0.
Value can be changed at runtime via /selinux/enforce.
+ enable_ept= [KVM,Intel] Disable extended page tables
+ (virtualized MMU) support on capable Intel chips.
+ Default is 1 (enabled)
+
ether= [HW,NET] Ethernet cards parameters
This option is obsoleted by the "netdev=" option, which
has equivalent usage. See its documentation for details.
@@ -747,6 +768,10 @@ and is between 256 and 4096 characters. It is defined in the file
fdomain= [HW,SCSI]
See header of drivers/scsi/fdomain.c.
+ flexpriority_enabled=
+ [KVM,Intel] Disable FlexPriority feature (TPR shadow).
+ Default is 1 (enabled)
+
floppy= [HW]
See Documentation/blockdev/floppy.txt.
@@ -923,6 +948,9 @@ and is between 256 and 4096 characters. It is defined in the file
Ignore loglevel setting - this will print /all/
kernel messages to the console. Useful for debugging.
+ ignore_msrs= [KVM] Ignore guest accesses to unhandled MSRs.
+ Default is 0 (don't ignore, but inject #GP)
+
ihash_entries= [KNL]
Set number of hash buckets for inode cache.
@@ -1475,6 +1503,9 @@ and is between 256 and 4096 characters. It is defined in the file
ncr53c8xx= [HW,SCSI]
+ nested= [KVM,AMD] Allow nested virtualization in KVM/SVM.
+ Default is 0 (off)
+
netdev= [NET] Network devices parameters
Format: <irq>,<io>,<mem_start>,<mem_end>,<name>
Note that mem_start is often overloaded to mean
@@ -1689,6 +1720,10 @@ and is between 256 and 4096 characters. It is defined in the file
nox2apic [X86-64,APIC] Do not enable x2APIC mode.
+ npt= [KVM,AMD] Disable nested paging (virtualized MMU)
+ for all guests.
+ Default is 1 (enabled) if in 64bit or 32bit-PAE mode
+
nptcg= [IA64] Override max number of concurrent global TLB
purges which is reported from either PAL_VM_SUMMARY or
SAL PALO.
@@ -1711,6 +1746,9 @@ and is between 256 and 4096 characters. It is defined in the file
waiting for the ACK, so if this is set too high
interrupts *may* be lost!
+ oos_shadow= [KVM] Disable out-of-sync shadow paging.
+ Default is 1 (enabled)
+
opl3= [HW,OSS]
Format: <io>
--
1.6.1.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH] add KVM module parameters documentation
2009-06-30 12:54 [PATCH] add KVM module parameters documentation Andre Przywara
@ 2009-06-30 13:03 ` Avi Kivity
2009-07-10 12:20 ` [PATCH v2] " Andre Przywara
0 siblings, 1 reply; 4+ messages in thread
From: Avi Kivity @ 2009-06-30 13:03 UTC (permalink / raw)
To: Andre Przywara; +Cc: kvm
On 06/30/2009 03:54 PM, Andre Przywara wrote:
> Signed-off-by: Andre Przywara<andre.przywara@amd.com>
>
>
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2] add KVM module parameters documentation
2009-06-30 13:03 ` Avi Kivity
@ 2009-07-10 12:20 ` Andre Przywara
2009-07-12 8:25 ` Avi Kivity
0 siblings, 1 reply; 4+ messages in thread
From: Andre Przywara @ 2009-07-10 12:20 UTC (permalink / raw)
To: avi; +Cc: kvm, Andre Przywara
Signed-off-by: Andre Przywara <andre.przywara@amd.com>
---
Documentation/kernel-parameters.txt | 39 +++++++++++++++++++++++++++++++++++
1 files changed, 39 insertions(+), 0 deletions(-)
diff --git a/Documentation/kernel-parameters.txt b/Documentation/kernel-parameters.txt
index d77fbd8..8ca488d 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.
@@ -1098,6 +1099,44 @@ and is between 256 and 4096 characters. It is defined in the file
kstack=N [X86] Print N words from the kernel stack
in oops dumps.
+ kvm.ignore_msrs=[KVM] Ignore guest accesses to unhandled MSRs.
+ Default is 0 (don't ignore, but inject #GP)
+
+ kvm.oos_shadow= [KVM] Disable out-of-sync shadow paging.
+ Default is 1 (enabled)
+
+ kvm-amd.nested= [KVM,AMD] Allow nested virtualization in KVM/SVM.
+ Default is 0 (off)
+
+ kvm-amd.npt= [KVM,AMD] Disable nested paging (virtualized MMU)
+ for all guests.
+ Default is 1 (enabled) if in 64bit or 32bit-PAE mode
+
+ kvm-intel.bypass_guest_pf=
+ [KVM,Intel] Disables bypassing of guest page faults
+ on Intel chips. Default is 1 (enabled)
+
+ kvm-intel.ept= [KVM,Intel] Disable extended page tables
+ (virtualized MMU) support on capable Intel chips.
+ Default is 1 (enabled)
+
+ kvm-intel.emulate_invalid_guest_state=
+ [KVM,Intel] Enable emulation of invalid guest states
+ Default is 0 (disabled)
+
+ kvm-intel.flexpriority=
+ [KVM,Intel] Disable FlexPriority feature (TPR shadow).
+ Default is 1 (enabled)
+
+ kvm-intel.unrestricted_guest=
+ [KVM,Intel] Disable unrestricted guest feature
+ (virtualized real and unpaged mode) on capable
+ Intel chips. Default is 1 (enabled)
+
+ kvm-intel.vpid= [KVM,Intel] Disable Virtual Processor Identification
+ feature (tagged TLBs) on capable Intel chips.
+ Default is 1 (enabled)
+
l2cr= [PPC]
l3cr= [PPC]
--
1.6.1.3
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] add KVM module parameters documentation
2009-07-10 12:20 ` [PATCH v2] " Andre Przywara
@ 2009-07-12 8:25 ` Avi Kivity
0 siblings, 0 replies; 4+ messages in thread
From: Avi Kivity @ 2009-07-12 8:25 UTC (permalink / raw)
To: Andre Przywara; +Cc: kvm
On 07/10/2009 03:20 PM, Andre Przywara wrote:
> Signed-off-by: Andre Przywara<andre.przywara@amd.com>
>
Applied, thanks.
--
error compiling committee.c: too many arguments to function
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-07-12 8:22 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-30 12:54 [PATCH] add KVM module parameters documentation Andre Przywara
2009-06-30 13:03 ` Avi Kivity
2009-07-10 12:20 ` [PATCH v2] " Andre Przywara
2009-07-12 8:25 ` Avi Kivity
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).