From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: How to use current KVM with non-modular kernel Date: Wed, 03 Sep 2008 12:35:53 +0300 Message-ID: <48BE5A79.9020606@qumranet.com> References: <48BE41E0.4030103@gmx.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Felix Leimbach Return-path: Received: from il.qumranet.com ([212.179.150.194]:46282 "EHLO il.qumranet.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754175AbYICJfz (ORCPT ); Wed, 3 Sep 2008 05:35:55 -0400 In-Reply-To: <48BE41E0.4030103@gmx.net> Sender: kvm-owner@vger.kernel.org List-ID: Felix Leimbach wrote: > Hello list, > > due to security concerns I have kvm hosts which have non-modular > kernels, i.e. CONFIG_MODULES is not set. > I'd like to use the latest KVM kernel code with those, but cannot not > always upgrade to the latest kernel.org kernel. > > Is it possible to update kernel sources to include the latest and > greatest kvm? > For example to have 2.6.25.16 kernel with the kvm-74 module *compiled > in*. You could copy the kernel files in the kvm-74 distribution into a new directory in the Linux source tree, add '#include "external-module-compat.h" to the top of all of them, and hack a Kbuild for them. It would take some effort, but should work. -- error compiling committee.c: too many arguments to function