]> www.infradead.org Git - users/jedix/linux-maple.git/commit
KVM: x86: Reorganize code in x86.c to co-locate vCPU blocking/running helpers
authorSean Christopherson <seanjc@google.com>
Fri, 2 Aug 2024 19:51:19 +0000 (12:51 -0700)
committerSean Christopherson <seanjc@google.com>
Fri, 30 Aug 2024 02:50:21 +0000 (19:50 -0700)
commit70cdd2385106a91675ee0ba58facde0254597416
tree59ed81e47ce61ea22488eac81a0a160da7bca5da
parentf7f39c50edb9d336274371953275e0d3503b9b75
KVM: x86: Reorganize code in x86.c to co-locate vCPU blocking/running helpers

Shuffle code around in x86.c so that the various helpers related to vCPU
blocking/running logic are (a) located near each other and (b) ordered so
that HLT emulation can use kvm_vcpu_has_events() in a future path.

No functional change intended.

Link: https://lore.kernel.org/r/20240802195120.325560-5-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/x86.c