From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MDF2g-0003NG-VY for qemu-devel@nongnu.org; Sun, 07 Jun 2009 05:51:55 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MDF2b-0003K8-W5 for qemu-devel@nongnu.org; Sun, 07 Jun 2009 05:51:54 -0400 Received: from [199.232.76.173] (port=56398 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MDF2b-0003Jz-KO for qemu-devel@nongnu.org; Sun, 07 Jun 2009 05:51:49 -0400 Received: from fmmailgate01.web.de ([217.72.192.221]:59352) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MDF2b-0005e6-10 for qemu-devel@nongnu.org; Sun, 07 Jun 2009 05:51:49 -0400 Message-ID: <4A2B8DB2.1040001@web.de> Date: Sun, 07 Jun 2009 11:51:46 +0200 From: Jan Kiszka MIME-Version: 1.0 References: <4A2B88B1.4060005@web.de> <4A2B8A9F.4060709@redhat.com> <4A2B8B15.8090203@web.de> <4A2B8C36.6010307@redhat.com> In-Reply-To: <4A2B8C36.6010307@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig4260877DA8E0945FA1C375B5" Sender: jan.kiszka@web.de 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: Avi Kivity Cc: Blue Swirl , =?ISO-8859-15?Q?Andreas_F=E4?=@gnu.org, =?ISO-8859-15?Q?rber?= , qemu-devel This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig4260877DA8E0945FA1C375B5 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Avi Kivity wrote: > Jan Kiszka wrote: >> Avi Kivity wrote: >> =20 >>> Jan Kiszka wrote: >>> =20 >>>> 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" !=3D "" ; then >>>> - kvm=3D"no - (${kvmerr})" >>>> + kvm=3D"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 >>>> =20 >>> Installing kvm-mod is insufficient, you need the headers from somewhe= re. >>> >>> =20 >> >> True. Hmm, wasn't there the plan to fix this by carrying them in-tree?= >> =20 >=20 > Anthony even posted a patch but it was a bit excessive, carrying tons o= f > kernel headers. I think we'd be fine carrying just the kvm headers, > same as qemu-kvm. In which case the compile time test can go away. >=20 > Alternatively, I can make kvm-kmod install the necessary headers to > /usr/local/include. It's probably cleaner this way. >=20 Good idea. Maybe put them in a separate directory (and make qemu aware of it) so that kvm-kmod packages will not run into conflicts with the installed kernel headers. Jan --------------enig4260877DA8E0945FA1C375B5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iEYEARECAAYFAkorjbIACgkQniDOoMHTA+m+EACghP4nSzBBsRGyzm963hcWbvrq EMUAnim/4OC+n3VKsQQykK9gvt7O2ct+ =opav -----END PGP SIGNATURE----- --------------enig4260877DA8E0945FA1C375B5--