Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965211AbWEKJET (ORCPT ); Thu, 11 May 2006 05:04:19 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S965212AbWEKJET (ORCPT ); Thu, 11 May 2006 05:04:19 -0400 Received: from mx1.suse.de ([195.135.220.2]:23528 "EHLO mx1.suse.de") by vger.kernel.org with ESMTP id S965211AbWEKJES (ORCPT ); Thu, 11 May 2006 05:04:18 -0400 Message-ID: <4462FE87.20009@suse.de> Date: Thu, 11 May 2006 11:06:15 +0200 From: Gerd Hoffmann User-Agent: Thunderbird 1.5.0.2 (X11/20060411) MIME-Version: 1.0 To: Chris Wright Cc: Zachary Amsden , virtualization@lists.osdl.org, Christian Limpach , xen-devel@lists.xensource.com, linux-kernel@vger.kernel.org, Ian Pratt Subject: Re: [Xen-devel] Re: [RFC PATCH 07/35] Make LOAD_OFFSET defined by subarch References: <20060509084945.373541000@sous-sol.org> <20060509085150.509458000@sous-sol.org> <44627733.4010305@vmware.com> <4462EC05.8060705@suse.de> <20060511085127.GH25010@moss.sous-sol.org> In-Reply-To: <20060511085127.GH25010@moss.sous-sol.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1386 Lines: 35 Chris Wright wrote: > * Gerd Hoffmann (kraxel@suse.de) wrote: >> I fully agree. Attached below is a patch (against xen unstable >> mercurial tree) which does exactly that ;) > > Thanks Gerd, I thought you had been working on that. Was the concern > with vaddr vs. paddr worked out? Not yet, and I didn't feel comfortable pushing it just before the 3.0.2 release, but I think _now_ would be a good time to finally merge it. Having physical addresses in paddr seems to be common practice, and IMO xen should follow that as it makes life easier for everybody. It's not a big problem that xen guests boot with paging enabled, and as Zachary already pointed out it's trivial to use virt_base from the xen_guest elf section to create correct initial page tables. Even maintaining backward compatibility with some guesswork is possible as it is _very_ unlikely that the paddr field holds physical addresses larger than virt_base ;) cheers, Gerd -- Gerd Hoffmann Erst mal heiraten, ein, zwei Kinder, und wenn alles l?uft geh' ich nach drei Jahren mit der Familie an die B?rse. http://www.suse.de/~kraxel/julika-dora.jpeg - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/