diff options
author | Avi Kivity <avi@redhat.com> | 2009-03-23 09:41:17 -0400 |
---|---|---|
committer | Avi Kivity <avi@redhat.com> | 2009-06-10 04:48:31 -0400 |
commit | c1f8bc04c6f8576553dc87abe7562e868433a19f (patch) | |
tree | ea1a13e5c9e2419c989f97e52e0e04b667f07d2b /arch/x86/kvm/vmx.c | |
parent | fe4c7b1914ac46af751d256f5a20c2e12dcbaaae (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.c | 10 |
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"); | |||
39 | MODULE_LICENSE("GPL"); | 39 | MODULE_LICENSE("GPL"); |
40 | 40 | ||
41 | static int bypass_guest_pf = 1; | 41 | static int bypass_guest_pf = 1; |
42 | module_param(bypass_guest_pf, bool, 0); | 42 | module_param(bypass_guest_pf, bool, S_IRUGO); |
43 | 43 | ||
44 | static int enable_vpid = 1; | 44 | static int enable_vpid = 1; |
45 | module_param(enable_vpid, bool, 0); | 45 | module_param(enable_vpid, bool, 0444); |
46 | 46 | ||
47 | static int flexpriority_enabled = 1; | 47 | static int flexpriority_enabled = 1; |
48 | module_param(flexpriority_enabled, bool, 0); | 48 | module_param(flexpriority_enabled, bool, S_IRUGO); |
49 | 49 | ||
50 | static int enable_ept = 1; | 50 | static int enable_ept = 1; |
51 | module_param(enable_ept, bool, 0); | 51 | module_param(enable_ept, bool, S_IRUGO); |
52 | 52 | ||
53 | static int emulate_invalid_guest_state = 0; | 53 | static int emulate_invalid_guest_state = 0; |
54 | module_param(emulate_invalid_guest_state, bool, 0); | 54 | module_param(emulate_invalid_guest_state, bool, S_IRUGO); |
55 | 55 | ||
56 | struct vmcs { | 56 | struct vmcs { |
57 | u32 revision_id; | 57 | u32 revision_id; |