[PATCH 00/12] x86: disable virt on kdump and emergency_restart (v4)

Eduardo Habkost
2008-11-17T21:03:12Z

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

--
Eduardo