x86: disable virt on kdump and emergency_restart (v4)
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 4 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | kvm: vmx: move vmx.h to include/asmarch/ arch/ arch/ +1 more | +361 | 0 replies | |
| 2/12 | kvm: svm: move svm.h to include/asmarch/ arch/ arch/ | +329 | 0 replies | |
| 3/12 | kvm: vmx: move ASM_VMX_* definitions from asm/kvm_host.h to asm/vmx.harch/ arch/ | +15 | 0 replies | |
| 4/12 | kvm: vmx: move cpu_has_kvm_support() to an inline on asm/virtext.harch/ arch/ | +33 | 0 replies | |
| 5/12 | x86: asm/virtext.h: add cpu_vmxoff() inline functionarch/ | +15 | 0 replies | |
| 6/12 | kvm: vmx: extract kvm_cpu_vmxoff() from hardware_disable()arch/ | +11 | 0 replies | |
| 7/12 | x86: cpu_emergency_vmxoff() functionarch/ | +23 | 0 replies | |
| 8/12 | kvm: svm: move has_svm() code to asm/virtext.harch/ arch/ | +46 | 0 replies | |
| 9/12 | kvm: svm: move svm_hardware_disable() code to asm/virtext.harch/ arch/ | +15 | 0 replies | |
| 10/12 | x86: cpu_emergency_svm_disable() functionarch/ | +8 | 0 replies | |
| 11/12 | kdump: forcibly disable VMX and SVM on machine_crash_shutdown()arch/ | +18 | 0 replies | |
| 12/12 | x86: disable VMX on all CPUs on rebootarch/ | +61 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/12] x86: disable virt on kdump and emergency_restart (v4)
Hi, Ingo,
This is yet another spin of the series to disable vmx on kdump and on emergency_restart, after some feedback from Avi.
The only change from v3 is that vmx.h and svm.h were moved from arch/x86/kvm to arch/x86/include/asm, instead of moving code from those headers to asm/virtext.h.
I haven't tested the SVM changes on AMD CPUs. The changes are really simple, but some testing is welcome.
This series is against tip.git#master, that already contains the nmi_shootdown_cpus() changes I've submitted previously.
For reference, this is the history of the patchset:
v1: Implemented the changes using a function pointer registering interface
where KVM could hook the virt-disable functions
v2: Style fixes
v3: Implemented the changes by moving the virt-disable code from KVM
to inline functions on asm/virtext.h
v4: Move KVM svm.h and vmx.h to include/asm, instead of moving
pieces of their contents to asm/virtext.h
Signature · 1 line
Eduardo