lkml.org 
[lkml]   [2009]   [May]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH 37/43] KVM: VMX: Simplify module parameter names
    Date
    Instead of 'enable_vpid=1', use a simple 'vpid=1'.

    Signed-off-by: Avi Kivity <avi@redhat.com>
    ---
    arch/x86/kvm/vmx.c | 6 +++---
    1 files changed, 3 insertions(+), 3 deletions(-)

    diff --git a/arch/x86/kvm/vmx.c b/arch/x86/kvm/vmx.c
    index 85f4fd5..a69ba6b 100644
    --- a/arch/x86/kvm/vmx.c
    +++ b/arch/x86/kvm/vmx.c
    @@ -42,13 +42,13 @@ static int bypass_guest_pf = 1;
    module_param(bypass_guest_pf, bool, S_IRUGO);

    static int enable_vpid = 1;
    -module_param(enable_vpid, bool, 0444);
    +module_param_named(vpid, enable_vpid, bool, 0444);

    static int flexpriority_enabled = 1;
    -module_param(flexpriority_enabled, bool, S_IRUGO);
    +module_param_named(flexpriority, flexpriority_enabled, bool, S_IRUGO);

    static int enable_ept = 1;
    -module_param(enable_ept, bool, S_IRUGO);
    +module_param_named(ept, enable_ept, bool, S_IRUGO);

    static int emulate_invalid_guest_state = 0;
    module_param(emulate_invalid_guest_state, bool, S_IRUGO);
    --
    1.6.0.6


    \
     
     \ /
      Last update: 2009-05-18 11:45    [W:0.032 / U:0.872 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site