public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
From: Anthony Liguori <anthony-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
To: jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org
Cc: kvm-devel
	<kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org>,
	Avi Kivity <avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
Subject: Re: [PATCH] Add cross compile to top level	configuration file
Date: Mon, 15 Oct 2007 15:51:09 -0500	[thread overview]
Message-ID: <4713D2BD.9040202@codemonkey.ws> (raw)
In-Reply-To: <1192480549.5811.27.camel@thinkpad>

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 compile. But will soon be sending patches
>>> for powerpc embedded once this is accepted. This patches to latest git
>>> and is in git format ;-)
>>>
>>> Signed-off-by: Jerone Young <jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org>
>>>   
>>> ------------------------------------------------------------------------
>>>       
>> Why are you only passing --enable-alsa only x86?
>>     
>
> Because for our powerpc stuff we actually want different options. ALSA
> is not a dependency we want.
>   

Well, you don't want the dependency, but does that mean noone will ever 
want the dependency on anything but x86?

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?

Regards,

Anthony Liguori


>>> +fi
>>> +
>>> +qemudir=`pwd`/qemu
>>> +
>>> +#configure user dir
>>> +(cd user; ./configure --prefix="$prefix" --kerneldir="$libkvm_kerneldir" \
>>> +          $user_opts --arch="$arch")
>>> +(cd qemu; ./configure --target-list=$target_exec \
>>>      --disable-kqemu --extra-cflags="-I $PWD/../user" \
>>>      --extra-ldflags="-L $PWD/../user" \
>>>      --enable-kvm --kernel-path="$libkvm_kerneldir" \
>>> -    --enable-alsa \
>>>      ${disable_gcc_check:+"--disable-gcc-check"} \
>>> -    --prefix="$prefix"
>>> +    --prefix="$prefix" \
>>> +    $qemu_opts --cpu="$arch"
>>>   
>>>       
>> I don't think this is right.  You're using two different --cpu options 
>> for i386 and x86_64.  There really shouldn't be a --cpu option at all 
>> for x86.
>>     
>
> So the --cpu option is actually a hidden option in qemu & is not on the
> qemu help page .. who know why it isn't but the it's in the code.
>
> It makes since though that if you are going to specify cross-prefix=
> then there is little reason to specify the cpu on the qemu line. As it
> should detect everything from cross compiler.
>
> I'll test this out and send a new patch with the 2 changes.
>
>   
>> Regards,
>>
>> Anthony Liguori
>>
>>     
>>>  )
>>>  
>>>  
>>> -
>>>  cat <<EOF > config.mak
>>> +ARCH=$arch
>>>  PREFIX=$prefix
>>>  KERNELDIR=$kerneldir
>>>  WANT_MODULE=$want_module
>>> +CC=$cross_prefix$cc
>>>  EOF
>>> -
>>>       
>>     
>>> -------------------------------------------------------------------------
>>> This SF.net email is sponsored by: Splunk Inc.
>>> Still grepping through log files to find problems?  Stop.
>>> Now Search log events and configuration files using AJAX and a browser.
>>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>>> ------------------------------------------------------------------------
>>>
>>> _______________________________________________
>>> kvm-devel mailing list
>>> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>>> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>>>       
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Splunk Inc.
>> Still grepping through log files to find problems?  Stop.
>> Now Search log events and configuration files using AJAX and a browser.
>> Download your FREE copy of Splunk now >> http://get.splunk.com/
>> _______________________________________________
>> kvm-devel mailing list
>> kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>> https://lists.sourceforge.net/lists/listinfo/kvm-devel
>>     
>
>
>   


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/

  reply	other threads:[~2007-10-15 20:51 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-15 19:12 [PATCH] Add cross compile to top level configuration file Jerone Young
2007-10-15 20:13 ` Anthony Liguori
     [not found]   ` <4713C9D5.3070001-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-10-15 20:35     ` Jerone Young
2007-10-15 20:51       ` Anthony Liguori [this message]
     [not found]         ` <4713D2BD.9040202-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-10-16  2:30           ` Jerone Young
2007-10-16  3:08           ` [PATCH] [RESEND] " Jerone Young
2007-10-16  9:59             ` Avi Kivity
     [not found]               ` <47148B90.2020607-atKUWr5tajBWk0Htik3J/w@public.gmane.org>
2007-10-16 19:08                 ` Jerone Young
2007-10-16 19:58                   ` Avi Kivity
2007-10-16 10:30             ` Avi Kivity
2007-10-16  9:37           ` [PATCH] " Avi Kivity
2007-10-16 14:59       ` Anthony Liguori
     [not found]         ` <4714D1BA.6050504-rdkfGonbjUSkNkDKm+mE6A@public.gmane.org>
2007-10-16 19:51           ` Jerone Young
2007-10-16 20:03             ` Anthony Liguori

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4713D2BD.9040202@codemonkey.ws \
    --to=anthony-rdkfgonbjusknkdkm+me6a@public.gmane.org \
    --cc=avi-atKUWr5tajBWk0Htik3J/w@public.gmane.org \
    --cc=jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org \
    --cc=kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox