[PVE-User] Compiling newer kvm-kmod on PVE 2.1

David Black proxmox at 1000.relay.net
Sun Sep 16 19:30:37 CEST 2012


I think I figured out the answer to this, based on http://pve.proxmox.com/wiki/Proxmox_VE_Kernel 

To support OpenVZ, the kernel is changed enough by its patch set, that kvm-kmod > 2.6.32 won't compile. Unless I'm willing put in substantial porting work, looks like temporarily foregoing CT-based VMs to play with new KVM features is the way to go. 

Other options/opinions most welcome. :-) 

Dave 

----- Original Message -----

> Desiring to play with some of the newer kvm-kmod features like vmx
> support, I'm trying to compile kvm-kmod-3.5 to work on the current
> PVE 2.1 kernel.

> It appears substantial backporting may have been done to the
> 2.6.32-14-pve kernel because function prototypes from vanilla
> kernels as new as 3.0.0 are present. At first I took the tack of
> simply preventing the redefinition of prototypes kvm-kmod was trying
> to override (based on what's in a vanilla 2.6.32 kernel), then hit a
> function __get_user_pages that has a prototype in PVE's headers
> different from the implementation of the same function in at least
> kvm-kmod-3.5. I may need to modify the function itself in kvm-kmod
> to work with the PVE kernel prototype, and prefer to avoid going
> that far.

> Am I scoping this correctly, and has anyone else tried and succeeded?
> I won't further clutter this email with compiler errors, etc. -
> assuming this is even the right mailing list to post the question
> to. :-)

> Thanks,
> Dave
> _______________________________________________
> pve-user mailing list
> pve-user at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.proxmox.com/pipermail/pve-user/attachments/20120916/e5c7570e/attachment.htm>


More information about the pve-user mailing list