context_tracking: KVM: Move guest enter/exit wrappers to KVM's domain
authorSean Christopherson <seanjc@google.com>
Wed, 5 May 2021 00:27:34 +0000 (17:27 -0700)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 5 May 2021 20:54:12 +0000 (22:54 +0200)
commit1ca0016c149be35fe19a6b75fce95c25807b7159
treead69f06a18acb03fb414e9b18dca1e25da3eaace
parent14296e0c447885d6c7b326e059fb528eb00526ed
context_tracking: KVM: Move guest enter/exit wrappers to KVM's domain

Move the guest enter/exit wrappers to kvm_host.h so that KVM can manage
its context tracking vs. vtime accounting without bleeding too many KVM
details into the context tracking code.

No functional change intended.

Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lore.kernel.org/r/20210505002735.1684165-8-seanjc@google.com
include/linux/context_tracking.h
include/linux/kvm_host.h