aboutsummaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx.c
diff options
context:
space:
mode:
authorAvi Kivity <avi@redhat.com>2009-03-23 11:53:37 -0400
committerAvi Kivity <avi@redhat.com>2009-06-10 04:48:32 -0400
commit4462d21a615dfd0c0f672c10832a011d6f280d5a (patch)
tree50b945fbd8fb3733698808927202c869d815e573 /arch/x86/kvm/vmx.c
parent736caefe1511d9d1116ed4ffb0ea95b7368beb1f (diff)
KVM: VMX: Annotate module parameters as __read_mostly
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 a69ba6ba421..f4b6c4bcee2 100644
--- a/arch/x86/kvm/vmx.c
+++ b/arch/x86/kvm/vmx.c
@@ -38,19 +38,19 @@
38MODULE_AUTHOR("Qumranet"); 38MODULE_AUTHOR("Qumranet");
39MODULE_LICENSE("GPL"); 39MODULE_LICENSE("GPL");
40 40
41static int bypass_guest_pf = 1; 41static int __read_mostly bypass_guest_pf = 1;
42module_param(bypass_guest_pf, bool, S_IRUGO); 42module_param(bypass_guest_pf, bool, S_IRUGO);
43 43
44static int enable_vpid = 1; 44static int __read_mostly enable_vpid = 1;
45module_param_named(vpid, enable_vpid, bool, 0444); 45module_param_named(vpid, enable_vpid, bool, 0444);
46 46
47static int flexpriority_enabled = 1; 47static int __read_mostly flexpriority_enabled = 1;
48module_param_named(flexpriority, flexpriority_enabled, bool, S_IRUGO); 48module_param_named(flexpriority, flexpriority_enabled, bool, S_IRUGO);
49 49
50static int enable_ept = 1; 50static int __read_mostly enable_ept = 1;
51module_param_named(ept, enable_ept, bool, S_IRUGO); 51module_param_named(ept, enable_ept, bool, S_IRUGO);
52 52
53static int emulate_invalid_guest_state = 0; 53static int __read_mostly emulate_invalid_guest_state = 0;
54module_param(emulate_invalid_guest_state, bool, S_IRUGO); 54module_param(emulate_invalid_guest_state, bool, S_IRUGO);
55 55
56struct vmcs { 56struct vmcs {