summaryrefslogtreecommitdiffstats
path: root/arch/x86/kvm/vmx/vmx.h
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-09-23 20:03:59 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2020-09-28 13:57:57 +0200
commitfbc18007382cb99ca68b1c6cb49d38f4f3b7a5da (patch)
treef26047ec92dd6ed9c4592ed9e599a2baf3667489 /arch/x86/kvm/vmx/vmx.h
parentKVM: VMX: Rename the "shared_msr_entry" struct to "vmx_uret_msr" (diff)
downloadlinux-fbc18007382cb99ca68b1c6cb49d38f4f3b7a5da.tar.xz
linux-fbc18007382cb99ca68b1c6cb49d38f4f3b7a5da.zip
KVM: VMX: Rename vcpu_vmx's "nmsrs" to "nr_uret_msrs"
Rename vcpu_vmx.nsmrs to vcpu_vmx.nr_uret_msrs to explicitly associate it with the guest_uret_msrs array. No functional change intended. Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com> Message-Id: <20200923180409.32255-6-sean.j.christopherson@intel.com> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/vmx/vmx.h')
-rw-r--r--arch/x86/kvm/vmx/vmx.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx/vmx.h b/arch/x86/kvm/vmx/vmx.h
index a13b61ef92b0..82c39ac53165 100644
--- a/arch/x86/kvm/vmx/vmx.h
+++ b/arch/x86/kvm/vmx/vmx.h
@@ -197,7 +197,7 @@ struct vcpu_vmx {
ulong rflags;
struct vmx_uret_msr guest_uret_msrs[MAX_NR_USER_RETURN_MSRS];
- int nmsrs;
+ int nr_uret_msrs;
int save_nmsrs;
bool guest_msrs_ready;
#ifdef CONFIG_X86_64