x86/kvm: Refactor KVM PV features teardown and fix restore from hibernation
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | x86/kvm: Fix pr_info() for async PF setup/teardownarch/ | +2 | 0 replies | |
| 2/5 | x86/kvm: Teardown PV features on boot CPU as wellarch/ | +28 | 0 replies | |
| 3/5 | x86/kvm: Disable kvmclock on all CPUs on shutdownarch/ arch/ arch/ | +4 | 0 replies | |
| 4/5 | x86/kvm: Disable all PV features on crasharch/ arch/ arch/ | +32 | 0 replies | |
| 5/5 | x86/kvm: Unify kvm_pv_guest_cpu_reboot() with kvm_guest_cpu_offline()arch/ | +17 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] x86/kvm: Refactor KVM PV features teardown and fix restore from hibernation
This series is a successor of Lenny's "[PATCH] x86/kvmclock: Stop kvmclocks for hibernate restore". While reviewing his patch I realized that PV features teardown we have is a bit messy: it is scattered across kvm.c and kvmclock.c and not all features are being shutdown an all paths. This series unifies all teardown paths in kvm.c and makes sure all features are disabled when needed.
Vitaly Kuznetsov (5):
x86/kvm: Fix pr_info() for async PF setup/teardown x86/kvm: Teardown PV features on boot CPU as well
x86/kvm: Disable kvmclock on all CPUs on shutdown
x86/kvm: Disable all PV features on crash
x86/kvm: Unify kvm_pv_guest_cpu_reboot() with kvm_guest_cpu_offline()
arch/x86/include/asm/kvm_para.h | 10 +-- arch/x86/kernel/kvm.c | 113 +++++++++++++++++++++----------- arch/x86/kernel/kvmclock.c | 26 +------- 3 files changed, 78 insertions(+), 71 deletions(-)
Signature · 1 line
2.30.2