aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-03-23 09:41:17 -0400
committerAvi Kivity <avi@redhat.com>2009-06-10 04:48:31 -0400
commitc1f8bc04c6f8576553dc87abe7562e868433a19f (patch)
treeea1a13e5c9e2419c989f97e52e0e04b667f07d2b /arch/x86/kvm/vmx.c
parentfe4c7b1914ac46af751d256f5a20c2e12dcbaaae (diff)
KVM: VMX: Make module parameters readable
Useful to see how the module was loaded. Signed-off-by: Avi Kivity <avi@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r--arch/x86/kvm/vmx.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
index 2c0a2ed708d2..469787ce93f7 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -39,19 +39,19 @@ MODULE_AUTHOR("Qumranet");
39MODULE_LICENSE("GPL"); 39MODULE_LICENSE("GPL");
40 40
41static int bypass_guest_pf = 1; 41static int bypass_guest_pf = 1;
42module_param(bypass_guest_pf, bool, 0); 42module_param(bypass_guest_pf, bool, S_IRUGO);
43 43
44static int enable_vpid = 1; 44static int enable_vpid = 1;
45module_param(enable_vpid, bool, 0); 45module_param(enable_vpid, bool, 0444);
46 46
47static int flexpriority_enabled = 1; 47static int flexpriority_enabled = 1;
48module_param(flexpriority_enabled, bool, 0); 48module_param(flexpriority_enabled, bool, S_IRUGO);
49 49
50static int enable_ept = 1; 50static int enable_ept = 1;
51module_param(enable_ept, bool, 0); 51module_param(enable_ept, bool, S_IRUGO);
52 52
53static int emulate_invalid_guest_state = 0; 53static int emulate_invalid_guest_state = 0;
54module_param(emulate_invalid_guest_state, bool, 0); 54module_param(emulate_invalid_guest_state, bool, S_IRUGO);
55 55
56struct vmcs { 56struct vmcs {
57 u32 revision_id; 57 u32 revision_id;