From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] Fix QEMU target detection Date: Tue, 10 Jul 2007 11:11:56 +0300 Message-ID: <46933F4C.2080008@qumranet.com> References: <1184002527532-git-send-email-aliguori@us.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org To: Anthony Liguori Return-path: In-Reply-To: <1184002527532-git-send-email-aliguori-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Anthony Liguori wrote: > This looks like a typo. I think the intention of the if is to normalize > i[3456]86 to i386 since that's the target name for QEMU. > > Signed-off-by: Anthony Liguori > > diff --git a/configure b/configure > index d9292fe..e4d1ec6 100755 > --- a/configure > +++ b/configure > @@ -74,7 +74,7 @@ fi > > target_cpu() { > if [[ $(uname -m) = i?86 ]]; then > - echo x86_64 > + echo i386 > else > uname -m > fi > This is intentional. It allows migration from 32-bit hosts to 64-bit hosts. Another side effect is that 64-bit guests can be run on 64-bit hosts with 32-bit userspace. -- error compiling committee.c: too many arguments to function ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/