From: John Levon Subject: Re: Re: [Xen-staging] [xen-unstable] ioemu: Use XEN_TARGET_ARCH instead of uname -m. Date: Mon, 28 Jan 2008 01:01:19 +0000 Message-ID: <20080128010119.GA7642@totally.trollied.org.uk> References: <20080127213805.GA14096@fc.hp.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Keir Fraser Cc: Aron Griffis , Bastian Blank , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org On Sun, Jan 27, 2008 at 10:21:06PM +0000, Keir Fraser wrote: > I'm not sure what particular scenario Bastian was intending to fix, but the > patch does appear to make sense. qemu-dm is going to run in the target > system's dom0. So the 'host CPU' type for qemu-dm is related to > XEN_TARGET_ARCH, not XEN_COMPILE_ARCH nor 'uname -m'. This is a bit > confusing because for qemu there are three environments to consider: build, > host and emulated. I do believe that host CPU need not == build CPU. We also need it (or something like it) to correctly get a 64-bit qemu-dm on Solaris. regards john