diff options
Diffstat (limited to 'arch/x86/kvm/vmx.c')
-rw-r--r-- | arch/x86/kvm/vmx.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c index 906a7e84200f..d29216c462b3 100644 --- a/arch/x86/kvm/vmx.c +++ b/arch/x86/kvm/vmx.c | |||
@@ -51,29 +51,29 @@ | |||
51 | MODULE_AUTHOR("Qumranet"); | 51 | MODULE_AUTHOR("Qumranet"); |
52 | MODULE_LICENSE("GPL"); | 52 | MODULE_LICENSE("GPL"); |
53 | 53 | ||
54 | static int __read_mostly enable_vpid = 1; | 54 | static bool __read_mostly enable_vpid = 1; |
55 | module_param_named(vpid, enable_vpid, bool, 0444); | 55 | module_param_named(vpid, enable_vpid, bool, 0444); |
56 | 56 | ||
57 | static int __read_mostly flexpriority_enabled = 1; | 57 | static bool __read_mostly flexpriority_enabled = 1; |
58 | module_param_named(flexpriority, flexpriority_enabled, bool, S_IRUGO); | 58 | module_param_named(flexpriority, flexpriority_enabled, bool, S_IRUGO); |
59 | 59 | ||
60 | static int __read_mostly enable_ept = 1; | 60 | static bool __read_mostly enable_ept = 1; |
61 | module_param_named(ept, enable_ept, bool, S_IRUGO); | 61 | module_param_named(ept, enable_ept, bool, S_IRUGO); |
62 | 62 | ||
63 | static int __read_mostly enable_unrestricted_guest = 1; | 63 | static bool __read_mostly enable_unrestricted_guest = 1; |
64 | module_param_named(unrestricted_guest, | 64 | module_param_named(unrestricted_guest, |
65 | enable_unrestricted_guest, bool, S_IRUGO); | 65 | enable_unrestricted_guest, bool, S_IRUGO); |
66 | 66 | ||
67 | static int __read_mostly emulate_invalid_guest_state = 0; | 67 | static bool __read_mostly emulate_invalid_guest_state = 0; |
68 | module_param(emulate_invalid_guest_state, bool, S_IRUGO); | 68 | module_param(emulate_invalid_guest_state, bool, S_IRUGO); |
69 | 69 | ||
70 | static int __read_mostly vmm_exclusive = 1; | 70 | static bool __read_mostly vmm_exclusive = 1; |
71 | module_param(vmm_exclusive, bool, S_IRUGO); | 71 | module_param(vmm_exclusive, bool, S_IRUGO); |
72 | 72 | ||
73 | static int __read_mostly yield_on_hlt = 1; | 73 | static bool __read_mostly yield_on_hlt = 1; |
74 | module_param(yield_on_hlt, bool, S_IRUGO); | 74 | module_param(yield_on_hlt, bool, S_IRUGO); |
75 | 75 | ||
76 | static int __read_mostly fasteoi = 1; | 76 | static bool __read_mostly fasteoi = 1; |
77 | module_param(fasteoi, bool, S_IRUGO); | 77 | module_param(fasteoi, bool, S_IRUGO); |
78 | 78 | ||
79 | /* | 79 | /* |
@@ -81,7 +81,7 @@ module_param(fasteoi, bool, S_IRUGO); | |||
81 | * VMX and be a hypervisor for its own guests. If nested=0, guests may not | 81 | * VMX and be a hypervisor for its own guests. If nested=0, guests may not |
82 | * use VMX instructions. | 82 | * use VMX instructions. |
83 | */ | 83 | */ |
84 | static int __read_mostly nested = 0; | 84 | static bool __read_mostly nested = 0; |
85 | module_param(nested, bool, S_IRUGO); | 85 | module_param(nested, bool, S_IRUGO); |
86 | 86 | ||
87 | #define KVM_GUEST_CR0_MASK_UNRESTRICTED_GUEST \ | 87 | #define KVM_GUEST_CR0_MASK_UNRESTRICTED_GUEST \ |