diff options
author | Sean Christopherson | 2020-03-04 17:34:36 -0800 |
---|---|---|
committer | Paolo Bonzini | 2020-03-16 17:58:49 +0100 |
commit | 09c7431ed31f3cc71aba2c35a6d11a742db47b2a (patch) | |
tree | cde0fb68ae95792090d01d42e57a87d51ccae285 /arch/x86/kvm/svm.c | |
parent | 8d8923115f1bc8f10b3309b9245cc3a7f39b5aa7 (diff) |
KVM: x86: Refactor out-of-range logic to contain the madness
Move all of the out-of-range logic into a single helper,
get_out_of_range_cpuid_entry(), to avoid an extra lookup of CPUID.0.0
and to provide a single location for documenting the out-of-range
behavior.
No functional change intended.
Cc: Jim Mattson <jmattson@google.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'arch/x86/kvm/svm.c')
0 files changed, 0 insertions, 0 deletions