Joerg Roedel wrote:
From: Maik Hentsche <[EMAIL PROTECTED]>When kvm-userspace is build with a different kernel version than the running kernel the depmod at the end will fail. This patch fixed the problem. Signed-off-by: Maik Hentsche <[EMAIL PROTECTED]> @@ -0,0 +1,9 @@ +#include <stdio.h> +#include <linux/utsrelease.h> + +int main() +{ + printf("%s",UTS_RELEASE); + return(0); +} +
Can't the version be determined directly from kernedir itself? e.g. kerneldir is /lib/modules/$version/build?
-- error compiling committee.c: too many arguments to function -- To unsubscribe from this list: send the line "unsubscribe kvm" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
