KVM: VMX: Remove vmx_msr_index from vmx.h
PATCH 1/1 KVM: VMX: Remove vmx_msr_index from vmx.h
vmx_msr_index was used to record the list of MSRs which can be lazily restored when kvm returns to userspace. It is now reimplemented as kvm_uret_msrs_list, a common x86 list which is only used inside x86.c. So just remove the obsolete declaration in vmx.h.
Signed-off-by Yu Zhang <[email protected]>
--- arch/x86/kvm/vmx/vmx.h | 2 -- 1 file changed, 2 deletions(-)
arch/x86/kvm/vmx/vmx.h +0 -2
@@ -14,8 +14,6 @@#include "vmx_ops.h" #include "cpuid.h" -extern const u32 vmx_msr_index[]; -#define MSR_TYPE_R 1#define MSR_TYPE_W 2#define MSR_TYPE_RW 3
Signature · 1 line
2.17.1
Quoted 16 lines · Yu Zhang
vmx_msr_indexwas used to record the list of MSRs which can be lazily restored when kvm returns to userspace. It is now reimplemented askvm_uret_msrs_list, a common x86 list which is only used insidex86.c. So just remove the obsolete declaration invmx.h.Signed-off-by Yu Zhang <[email protected]>--- arch/x86/kvm/vmx/vmx.h | 2 -- 1 file changed, 2 deletions(-)arch/x86/kvm/vmx/vmx.h +0
-0
arch/x86/kvm/vmx/vmx.h line 19
Quoted 8 lines
arch/x86/kvm/vmx/vmx.h +0
-2@@ -14,8 +14,6 @@#include "vmx_ops.h" #include "cpuid.h" -extern const u32 vmx_msr_index[]; -#define MSR_TYPE_R 1#define MSR_TYPE_W 2#define MSR_TYPE_RW 3
Queued, thanks.
Paolo