]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: VMX: Remove vmx_msr_index from vmx.h
authorYu Zhang <yu.c.zhang@linux.intel.com>
Wed, 7 Jul 2021 23:57:02 +0000 (07:57 +0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 15 Jul 2021 14:19:41 +0000 (10:19 -0400)
commitebb2fff3b969f1bd6ecbb06ed8a1f89a261fd536
treeab11b998dc86793678423922f4791d7ca32cfdea
parent826d1de5e815109b8c881faa144f0f387d063441
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 <yu.c.zhang@linux.intel.com>
Message-Id: <20210707235702.31595-1-yu.c.zhang@linux.intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/vmx.h