From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cristi Magherusan Subject: Re: kvm-87 fails to compile under uClibc Date: Wed, 08 Jul 2009 19:59:21 +0300 Message-ID: <1247072361.13629.15.camel@localhost.localdomain> References: <1246934566.27337.65.camel@localhost.localdomain> <4A53117E.8050305@redhat.com> <1246966290.32432.24.camel@localhost.localdomain> <4A5334FC.50100@redhat.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-JR+MKW3C92fT0qivWWbn" Cc: kvm To: Avi Kivity Return-path: Received: from bavaria.utcluj.ro ([193.226.5.35]:50358 "EHLO bavaria.utcluj.ro" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756665AbZGHQ7i (ORCPT ); Wed, 8 Jul 2009 12:59:38 -0400 In-Reply-To: <4A5334FC.50100@redhat.com> Sender: kvm-owner@vger.kernel.org List-ID: --=-JR+MKW3C92fT0qivWWbn Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2009-07-07 at 14:43 +0300, Avi Kivity wrote: > On 07/07/2009 02:31 PM, Cristi Magherusan wrote: > > The kernel will be 2.6.24 because it's smaller. I know this mismatch ma= y > > not be good, but I have to get to a compromise. The kernel needs to be > > as small as possible (everything should fit in a 4MB BIOS flash), and > > also to support both this version of KVM and OpenVZ at the same > time. > > Older KVM versions have terrible buildsystem issues and I gave up tryin= g > > to get them compile in buildroot. I think OpenVZ could work on 2.6.26 > > too, but I haven't tried yet. > > > > Could this be a real problem at runtime? > > =20 >=20 > I think 2.6.24 is too old for current qemu-kvm. Also it doesn't receive=20 > security fixes; if you don't trust your users you should use 2.6.27.y or=20 > 2.6.30.y (or a vendor kernel). Hi Avi, Thanks for this advice, I'll switch to 2.6, whch should be ok since it's also supported by OpenVZ. > You can reduce qemu size by not compiling tcg; that'll save you a lot=20 > more than the kernel. How do I disable it? is it the --disable-cpu-emulation configure flag? Unfortunately that one breaks compilation, and I reproduced this both in my system and inside the buildroot toolchain that I'm using. --=20 Ing. Cristi M=C4=83gheru=C8=99an, System/Network Engineer Technical University of Cluj-Napoca, Romania http://cc.utcluj.ro +40264 401247 --=-JR+MKW3C92fT0qivWWbn Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkpU0GkACgkQfwrBISYVZFWcpQCfcdRPZ0LUWgqvrJri0kHV79Ny 1XAAniut/fQm6Jfb45RCYswdPT0jeaJ5 =PXEi -----END PGP SIGNATURE----- --=-JR+MKW3C92fT0qivWWbn--