diff options
| author | Sean Christopherson <[email protected]> | 2021-06-18 14:46:58 -0700 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2021-06-21 12:58:55 -0400 |
| commit | ba1f82456ba8438a8abc96274d57bfe76d34a4a8 (patch) | |
| tree | cc41db33207d02b21bf933e02db03a4f22dcfa5e /tools/perf/scripts/python | |
| parent | 5140bc7d6bc8abad58b4f2a2c011607bfd922992 (diff) | |
KVM: nVMX: Dynamically compute max VMCS index for vmcs12
Calculate the max VMCS index for vmcs12 by walking the array to find the
actual max index. Hardcoding the index is prone to bitrot, and the
calculation is only done on KVM bringup (albeit on every CPU, but there
aren't _that_ many null entries in the array).
Fixes: 3c0f99366e34 ("KVM: nVMX: Add a TSC multiplier field in VMCS12")
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions