| commit | bc908e091b3264672889162733020048901021fb | [log] [tgz] |
|---|---|---|
| author | Sean Christopherson <seanjc@google.com> | Tue May 04 17:27:35 2021 -0700 |
| committer | Thomas Gleixner <tglx@linutronix.de> | Wed May 05 22:54:12 2021 +0200 |
| tree | c3a9cc5013b87e7a9a75bd05eeee7f1b5c0294c1 | |
| parent | 1ca0016c149be35fe19a6b75fce95c25807b7159 [diff] |
KVM: x86: Consolidate guest enter/exit logic to common helpers
Move the enter/exit logic in {svm,vmx}_vcpu_enter_exit() to common
helpers. Opportunistically update the somewhat stale comment about the
updates needing to occur immediately after VM-Exit.
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-9-seanjc@google.com