]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
KVM: x86: Move async #PF helpers to x86.h (as inlines)
authorSean Christopherson <seanjc@google.com>
Fri, 29 May 2026 22:21:57 +0000 (15:21 -0700)
committerSean Christopherson <seanjc@google.com>
Wed, 3 Jun 2026 12:35:24 +0000 (05:35 -0700)
commitbc87aec39399f5dbcb83eb3ebbce0b0beb57e893
tree2b7599ced65237cfd1d87bd593bfb01e47b59b2d
parentc7722e5e1daeeabbd9f969554d52bb7158120b27
KVM: x86: Move async #PF helpers to x86.h (as inlines)

Move kvm_pv_async_pf_enabled() and kvm_async_pf_hash_reset() to x86.h in
anticipation of extracting the majority of register and MSR specific code
out of x86.c.

No functional change intended.

Reviewed-by: Kai Huang <kai.huang@intel.com>
Reviewed-by: Yosry Ahmed <yosry@kernel.org>
Link: https://patch.msgid.link/20260529222223.870923-15-seanjc@google.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/x86.c
arch/x86/kvm/x86.h