Messages in this thread Patch in this message | | | Date | Wed, 28 Mar 2018 05:15:58 +0800 | From | kbuild test robot <> | Subject | [RFC PATCH] KVM: X86: force_emulation_prefix can be static |
| |
Fixes: 9e028a15a849 ("KVM: X86: Add Force Emulation Prefix for "emulate the next instruction"") Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- x86.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/arch/x86/kvm/x86.c b/arch/x86/kvm/x86.c index 17bb968..44f1e72 100644 --- a/arch/x86/kvm/x86.c +++ b/arch/x86/kvm/x86.c @@ -146,7 +146,7 @@ bool __read_mostly enable_vmware_backdoor = false; module_param(enable_vmware_backdoor, bool, S_IRUGO); EXPORT_SYMBOL_GPL(enable_vmware_backdoor); -bool __read_mostly force_emulation_prefix = false; +static bool __read_mostly force_emulation_prefix = false; module_param(force_emulation_prefix, bool, S_IRUGO); #define KVM_NR_SHARED_MSRS 16
| |