Re: [kvm-devel] [PATCH] Add cross compile to top level configuration file

2007-10-16 Thread Anthony Liguori
Jerone Young wrote: > On Tue, 2007-10-16 at 09:59 -0500, Anthony Liguori wrote: > >> Jerone Young wrote: >> >>> On Mon, 2007-10-15 at 15:13 -0500, Anthony Liguori wrote: >>> >>> >>> > +fi > + > +qemudir=`pwd`/qemu > + > +#configure user dir > +(cd user; ./c

Re: [kvm-devel] [PATCH] Add cross compile to top level configuration file

2007-10-16 Thread Jerone Young
On Tue, 2007-10-16 at 09:59 -0500, Anthony Liguori wrote: > Jerone Young wrote: > > On Mon, 2007-10-15 at 15:13 -0500, Anthony Liguori wrote: > > > > > >>> +fi > >>> + > >>> +qemudir=`pwd`/qemu > >>> + > >>> +#configure user dir > >>> +(cd user; ./configure --prefix="$prefix" --kerneldir="$libk

Re: [kvm-devel] [PATCH] Add cross compile to top level configuration file

2007-10-16 Thread Anthony Liguori
Jerone Young wrote: > On Mon, 2007-10-15 at 15:13 -0500, Anthony Liguori wrote: > > >>> +fi >>> + >>> +qemudir=`pwd`/qemu >>> + >>> +#configure user dir >>> +(cd user; ./configure --prefix="$prefix" --kerneldir="$libkvm_kerneldir" \ >>> + $user_opts --arch="$arch") >>> +(cd qemu; ./conf

Re: [kvm-devel] [PATCH] Add cross compile to top level configuration file

2007-10-16 Thread Avi Kivity
Anthony Liguori wrote: > I'm curious why --enable-alsa is here in the first place. QEMU will use > SDL audio by default. Perhaps Avi can shed light on why added in the > first place? > seemed like a good idea at the time. It's not like I actually know what goes on in the qemu sound emula

Re: [kvm-devel] [PATCH] Add cross compile to top level configuration file

2007-10-15 Thread Jerone Young
So it appears that trying to remove --cpu option will not work. Qemu still wants to compile to the arch of the machine you are compiling on without it. Even with cross compiler specified. So qemu still thinks the host CPU is going to be i386, even though I specified an x86-64 cross compilers. So Qe

Re: [kvm-devel] [PATCH] Add cross compile to top level configuration file

2007-10-15 Thread Anthony Liguori
Jerone Young wrote: > On Mon, 2007-10-15 at 15:13 -0500, Anthony Liguori wrote: > >> Jerone Young wrote: >> >>> This patch is an improved version of patches sent last week to enable >>> the top level configuration file for cross compile. This currently >>> allows x86 & x86-64 to cross compi

Re: [kvm-devel] [PATCH] Add cross compile to top level configuration file

2007-10-15 Thread Jerone Young
On Mon, 2007-10-15 at 15:13 -0500, Anthony Liguori wrote: > Jerone Young wrote: > > This patch is an improved version of patches sent last week to enable > > the top level configuration file for cross compile. This currently > > allows x86 & x86-64 to cross compile. But will soon be sending patche

Re: [kvm-devel] [PATCH] Add cross compile to top level configuration file

2007-10-15 Thread Anthony Liguori
Jerone Young wrote: > This patch is an improved version of patches sent last week to enable > the top level configuration file for cross compile. This currently > allows x86 & x86-64 to cross compile. But will soon be sending patches > for powerpc embedded once this is accepted. This patches to lat

[kvm-devel] [PATCH] Add cross compile to top level configuration file

2007-10-15 Thread Jerone Young
This patch is an improved version of patches sent last week to enable the top level configuration file for cross compile. This currently allows x86 & x86-64 to cross compile. But will soon be sending patches for powerpc embedded once this is accepted. This patches to latest git and is in git format