diff options
author | Sean Christopherson <[email protected]> | 2023-01-06 01:13:06 +0000 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2023-01-13 10:45:35 -0500 |
commit | 72c70ceeaf59330b1d63380add768bdbdeb24b7c (patch) | |
tree | d2d04a009b7f19201c3774148656f0092d0d817d /arch/x86/kvm/svm/svm.c | |
parent | d471bd853d38117c90ec02ecc51b3ca731674745 (diff) |
KVM: x86: Add helpers to recalc physical vs. logical optimized APIC maps
Move the guts of kvm_recalculate_apic_map()'s main loop to two separate
helpers to handle recalculating the physical and logical pieces of the
optimized map. Having 100+ lines of code in the for-loop makes it hard
to understand what is being calculated where.
No functional change intended.
Suggested-by: Maxim Levitsky <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Message-Id: <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'arch/x86/kvm/svm/svm.c')
0 files changed, 0 insertions, 0 deletions