Skip to content
Commit 9ae38b4f authored by Sean Christopherson's avatar Sean Christopherson
Browse files

KVM: x86: Add helper to get variable MTRR range from MSR index



Add a helper to dedup the logic for retrieving a variable MTRR range
structure given a variable MTRR MSR index.

No functional change intended.

Reviewed-by: default avatarKai Huang <kai.huang@intel.com>
Link: https://lore.kernel.org/r/20230511233351.635053-5-seanjc@google.com


Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent ebda79e5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment