From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MDEq2-0001t7-M9 for qemu-devel@nongnu.org; Sun, 07 Jun 2009 05:38:50 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MDEpy-0001pH-PX for qemu-devel@nongnu.org; Sun, 07 Jun 2009 05:38:50 -0400 Received: from [199.232.76.173] (port=46843 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDEpy-0001os-Ba for qemu-devel@nongnu.org; Sun, 07 Jun 2009 05:38:46 -0400 Received: from mx2.redhat.com ([66.187.237.31]:58905) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MDEpx-0003V7-Tl for qemu-devel@nongnu.org; Sun, 07 Jun 2009 05:38:46 -0400 Message-ID: <4A2B8A9F.4060709@redhat.com> Date: Sun, 07 Jun 2009 12:38:39 +0300 From: Avi Kivity MIME-Version: 1.0 References: <4A2B88B1.4060005@web.de> In-Reply-To: <4A2B88B1.4060005@web.de> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [PATCH] kvm: Improve upgrade notes when facing unsupported kernels List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Jan Kiszka Cc: Blue Swirl , =?ISO-8859-15?Q?Andreas_F=E4?=@gnu.org, =?ISO-8859-15?Q?rber?= , qemu-devel Jan Kiszka wrote: > Users complained that it is not obvious what to do when kvm refuses to > build or run due to an unsupported host kernel, so let's improve the > hints. > > diff --git a/configure b/configure > index 42d46f2..8ccb58c 100755 > --- a/configure > +++ b/configure > @@ -1158,7 +1158,9 @@ EOF > | grep "error: " \ > | awk -F "error: " '{if (NR>1) printf(", "); printf("%s",$2);}'` > if test "$kvmerr" != "" ; then > - kvm="no - (${kvmerr})" > + kvm="no - (${kvmerr})\n\ > + NOTE: To enable KVM support, update your kernel to 2.6.29+ or install \ > +recent kvm-kmod from http://sourceforge.net/projects/kvm." > fi > Installing kvm-mod is insufficient, you need the headers from somewhere. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic.