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

Avi Kivity avi at redhat.com
Wed Oct 29 05:31:12 EDT 2008


Eduardo Habkost wrote:
> I think I will get flamed if I try to pull to the core a bunch of code
> that always lived in the KVM module.  8)
>   

Having a simple api to enter vmx or svm mode in core code should not be 
too bad.  The kvm hardware_enable() stuff could simply call that.  The 
only downsides I see are a very minor bloat to the core, and spreading 
kvm code around.

> And even if we pull those functions to the core, we will still have
> a function pointer on the new code anyway, because we would need to
> support vmx and svm.
>   

Or have an if () statement there.

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




More information about the kexec mailing list