Re: kvm-87 fails to compile under uClibc

2009-07-09 Thread Cristi Magherusan
On Thu, 2009-07-09 at 11:20 +0300, Avi Kivity wrote: > On 07/08/2009 08:34 PM, Cristi Magherusan wrote: > > Also, what is extboot used for? > > Booting a guest from virtio and scsi. > > > Can I ommit it from my build? > > > > If you like. It's only a handful of bytes though. Hi Avi, I aske

Re: kvm-87 fails to compile under uClibc

2009-07-09 Thread Avi Kivity
On 07/08/2009 08:34 PM, Cristi Magherusan wrote: Also, what is extboot used for? Booting a guest from virtio and scsi. Can I ommit it from my build? If you like. It's only a handful of bytes though. -- error compiling committee.c: too many arguments to function -- To unsubscribe from

Re: kvm-87 fails to compile under uClibc

2009-07-08 Thread Cristi Magherusan
On Wed, 2009-07-08 at 20:07 +0300, Avi Kivity wrote: > On 07/08/2009 07:59 PM, Cristi Magherusan wrote: > >> You can reduce qemu size by not compiling tcg; that'll save you a lot > >> more than the kernel. > >> > > How do I disable it? is it the --disable-cpu-emulation configure flag? > > Unf

Re: kvm-87 fails to compile under uClibc

2009-07-08 Thread Avi Kivity
On 07/08/2009 07:59 PM, Cristi Magherusan wrote: You can reduce qemu size by not compiling tcg; that'll save you a lot 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 sy

Re: kvm-87 fails to compile under uClibc

2009-07-08 Thread Cristi Magherusan
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 may > > not be good, but I have to get to a compromise. The kernel needs to be > > as small as possible (everything should

Re: kvm-87 fails to compile under uClibc

2009-07-08 Thread Cristi Magherusan
On Wed, 2009-07-08 at 08:13 +0200, Natanael Copa wrote: > On Tue, 2009-07-07 at 05:42 +0300, Cristi Magherusan wrote: > > Hi there, > > > > I'm trying to compile kvm using uClibc instead of glibc. > > I upgraded to kvm-87 yesterday. It compiles, kvm is enabled, but guest > hangs when trying to mo

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Natanael Copa
On Tue, 2009-07-07 at 05:42 +0300, Cristi Magherusan wrote: > Hi there, > > I'm trying to compile kvm using uClibc instead of glibc. I upgraded to kvm-87 yesterday. It compiles, kvm is enabled, but guest hangs when trying to mount the boot iso. I'm not sure if that I run kvm in a vserver guest, o

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Cristi Magherusan
On Tue, 2009-07-07 at 10:31 -0500, Javier Guerra wrote: > On Tue, Jul 7, 2009 at 6:31 AM, Cristi > Magherusan wrote: > > The kernel will be 2.6.24 because it's smaller. I know this mismatch may > > not be good, but I have to get to a compromise. The kernel needs to be > > as small as possible (ever

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Javier Guerra
On Tue, Jul 7, 2009 at 6:31 AM, Cristi Magherusan wrote: > The kernel will be 2.6.24 because it's smaller. I know this mismatch may > 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) i know it's a big change;

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Mike Frysinger
On Tuesday 07 July 2009 07:31:30 Cristi Magherusan wrote: > On Tue, 2009-07-07 at 12:12 +0300, Avi Kivity wrote: > > On 07/07/2009 05:42 AM, Cristi Magherusan wrote: > > > I'm using linux-2.6.26.8, uClibc-HEAD(linuxthreds, almost complete > > > setup) and gcc 4.3.3. > > > > > > Also, is this kernel

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Mike Frysinger
On Tuesday 07 July 2009 03:34:57 Bernhard Reutner-Fischer wrote: > On Mon, Jul 06, 2009 at 11:21:03PM -0400, Mike Frysinger wrote: > >On Monday 06 July 2009 22:42:46 Cristi Magherusan wrote: > >> /home/cristi/devel/avatt/buildroot/build_i586/kvm-87/qemu-kvm-x86.c:1538 > >>: undefined reference to `

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Avi Kivity
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 may 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

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Cristi Magherusan
On Tue, 2009-07-07 at 12:12 +0300, Avi Kivity wrote: > On 07/07/2009 05:42 AM, Cristi Magherusan wrote: > > Hi there, > > > > I'm trying to compile kvm using uClibc instead of glibc. > > > > Besides the fact that kvm needs "--extra-ldflags=-lrt" (otherwise there > > are some missing symbols), there

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Cristi Magherusan
On Tue, 2009-07-07 at 09:34 +0200, Bernhard Reutner-Fischer wrote: > On Mon, Jul 06, 2009 at 11:21:03PM -0400, Mike Frysinger wrote: > >On Monday 06 July 2009 22:42:46 Cristi Magherusan wrote: > >> /home/cristi/devel/avatt/buildroot/build_i586/kvm-87/qemu-kvm-x86.c:1538: > >> undefined reference to

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Avi Kivity
On 07/07/2009 05:42 AM, Cristi Magherusan wrote: Hi there, I'm trying to compile kvm using uClibc instead of glibc. Besides the fact that kvm needs "--extra-ldflags=-lrt" (otherwise there are some missing symbols), there's an error caused by another missing symbol that I was unable to fix yet.

Re: kvm-87 fails to compile under uClibc

2009-07-07 Thread Bernhard Reutner-Fischer
On Mon, Jul 06, 2009 at 11:21:03PM -0400, Mike Frysinger wrote: >On Monday 06 July 2009 22:42:46 Cristi Magherusan wrote: >> /home/cristi/devel/avatt/buildroot/build_i586/kvm-87/qemu-kvm-x86.c:1538: >> undefined reference to `ioperm' > >ioperm is enabled only if your kernel headers declare __NR_iop

Re: kvm-87 fails to compile under uClibc

2009-07-06 Thread Mike Frysinger
On Monday 06 July 2009 22:42:46 Cristi Magherusan wrote: > /home/cristi/devel/avatt/buildroot/build_i586/kvm-87/qemu-kvm-x86.c:1538: > undefined reference to `ioperm' ioperm is enabled only if your kernel headers declare __NR_ioperm. if it isnt enabled in your C library, check your headers. -mik

kvm-87 fails to compile under uClibc

2009-07-06 Thread Cristi Magherusan
Hi there, I'm trying to compile kvm using uClibc instead of glibc. Besides the fact that kvm needs "--extra-ldflags=-lrt" (otherwise there are some missing symbols), there's an error caused by another missing symbol that I was unable to fix yet. It's about ioperm, and this is the error I get: /h