KVM: VMX: Make module parameters readable
Useful to see how the module was loaded. Signed-off-by: Avi Kivity <avi@redhat.com>
This commit is contained in:
parent
fe4c7b1914
commit
c1f8bc04c6
|
@ -39,19 +39,19 @@ MODULE_AUTHOR("Qumranet");
|
||||||
MODULE_LICENSE("GPL");
|
MODULE_LICENSE("GPL");
|
||||||
|
|
||||||
static int bypass_guest_pf = 1;
|
static int bypass_guest_pf = 1;
|
||||||
module_param(bypass_guest_pf, bool, 0);
|
module_param(bypass_guest_pf, bool, S_IRUGO);
|
||||||
|
|
||||||
static int enable_vpid = 1;
|
static int enable_vpid = 1;
|
||||||
module_param(enable_vpid, bool, 0);
|
module_param(enable_vpid, bool, 0444);
|
||||||
|
|
||||||
static int flexpriority_enabled = 1;
|
static int flexpriority_enabled = 1;
|
||||||
module_param(flexpriority_enabled, bool, 0);
|
module_param(flexpriority_enabled, bool, S_IRUGO);
|
||||||
|
|
||||||
static int enable_ept = 1;
|
static int enable_ept = 1;
|
||||||
module_param(enable_ept, bool, 0);
|
module_param(enable_ept, bool, S_IRUGO);
|
||||||
|
|
||||||
static int emulate_invalid_guest_state = 0;
|
static int emulate_invalid_guest_state = 0;
|
||||||
module_param(emulate_invalid_guest_state, bool, 0);
|
module_param(emulate_invalid_guest_state, bool, S_IRUGO);
|
||||||
|
|
||||||
struct vmcs {
|
struct vmcs {
|
||||||
u32 revision_id;
|
u32 revision_id;
|
||||||
|
|
Loading…
Reference in New Issue