aboutsummaryrefslogtreecommitdiffstats
path: root/rust/helpers/helpers.c
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2024-11-01 18:35:49 +0000
committerSean Christopherson <[email protected]>2024-11-05 04:57:45 +0000
commitd91060e342a66b52d9bd64f0b123b9c306293b76 (patch)
tree9d5412601a23bfb7f9b3a58933444a8147aa4988 /rust/helpers/helpers.c
parentKVM: x86: Drop superfluous kvm_lapic_set_base() call when setting APIC state (diff)
downloadkernel-d91060e342a66b52d9bd64f0b123b9c306293b76.tar.gz
kernel-d91060e342a66b52d9bd64f0b123b9c306293b76.zip
KVM: x86: Get vcpu->arch.apic_base directly and drop kvm_get_apic_base()
Access KVM's emulated APIC base MSR value directly instead of bouncing through a helper, as there is no reason to add a layer of indirection, and there are other MSRs with a "set" but no "get", e.g. EFER. No functional change intended. Reviewed-by: Kai Huang <[email protected]> Reviewed-by: Paolo Bonzini <[email protected]> Link: https://lore.kernel.org/r/[email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sean Christopherson <[email protected]>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions