diff options
| author | Sean Christopherson <[email protected]> | 2023-01-06 01:13:06 +0000 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2023-01-13 15:45:35 +0000 |
| commit | 72c70ceeaf59330b1d63380add768bdbdeb24b7c (patch) | |
| tree | d2d04a009b7f19201c3774148656f0092d0d817d /arch/x86/kvm/svm/nested.c | |
| parent | KVM: x86: Allow APICv APIC ID inhibit to be cleared (diff) | |
| download | kernel-72c70ceeaf59330b1d63380add768bdbdeb24b7c.tar.gz kernel-72c70ceeaf59330b1d63380add768bdbdeb24b7c.zip | |
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/nested.c')
0 files changed, 0 insertions, 0 deletions
