[PATCH 0/2] kvm: disable virtualization on kdump

Avi Kivity avi at redhat.com
Sun Oct 26 08:49:51 EDT 2008


Eric W. Biederman wrote:
> Why do we need to disable vmx mode before booting a normal linux kernel?
>   

vmx mode blocks INIT (even on the host; not just on the guests) so 
reboots don't work.  It also assigns some memory to the cpu; if the new 
kernel isn't aware of it, the cpu and the kernel would both think it 
belongs to them.  Finally, if vmx mode is enabled, you can't start kvm 
on the new kernel.

> Is it possible to disable vmx mode before we enable interrrupts in the
> kdump kernel?
>   

You need IPIs to disable vmx on smp.

-- 
error compiling committee.c: too many arguments to function




More information about the kexec mailing list