<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><span style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; ">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.</span><div style="color: rgb(0, 0, 0); font-family: 'Times New Roman'; font-size: 12pt; "><span><br></span></div><div><font size="3">It appears substantial backporting may have been done to the </font>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.</div><div><br></div><div>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.  :-)</div><div><br></div><div>Thanks,</div><div>Dave</div></div></body></html>