diff options
author | Xiaoyao Li <xiaoyao.li@intel.com> | 2021-08-27 09:02:45 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2021-10-22 11:19:27 +0200 |
commit | f4d3a902a558a2c058c605e589ce683d699f5333 (patch) | |
tree | 28fd65a5615bbc95091e95e1de1f7c79e9282ae1 /arch/x86/kvm/vmx/vmx.h | |
parent | KVM: VMX: Use precomputed vmx->pt_desc.addr_range (diff) | |
download | linux-f4d3a902a558a2c058c605e589ce683d699f5333.tar.xz linux-f4d3a902a558a2c058c605e589ce683d699f5333.zip |
KVM: VMX: Rename pt_desc.addr_range to pt_desc.num_address_ranges
To better self explain the meaning of this field and match the
PT_CAP_num_address_ranges constatn.
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Xiaoyao Li <xiaoyao.li@intel.com>
Message-Id: <20210827070249.924633-4-xiaoyao.li@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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/kvm/vmx/vmx.h b/arch/x86/kvm/vmx/vmx.h index 592217fd7d92..e7db42e3b0ce 100644 --- a/arch/x86/kvm/vmx/vmx.h +++ b/arch/x86/kvm/vmx/vmx.h @@ -62,7 +62,7 @@ struct pt_ctx { struct pt_desc { u64 ctl_bitmask; - u32 addr_range; + u32 num_address_ranges; u32 caps[PT_CPUID_REGS_NUM * PT_CPUID_LEAVES]; struct pt_ctx host; struct pt_ctx guest; |