From: "Jan Beulich" Subject: head.S' VIRT_START= Date: Thu, 09 Feb 2006 12:30:14 +0100 Message-ID: <43EB35D6.76F0.0078.0@novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Could anyone explain why the xen-linux ELF image needs to have physical and virtual addresses set to identical values (the ELF loaders' use of p_paddr seems ill anyway, p_vaddr is what is really meant to be read here, as the address obtained is clearly neither a physical nor a machine address)? If they were set like for native kernels, the delta could be used instead of reading the VIRT_START= parameter, which presently is not fully in sync with mainline since there now exist those VMSPLIT_* config options, which aren't currently disabled for Xen kernels. Thus I would see that either the parameter goes away and the value gets deduced (if there is nothing else that needs the program headers' p_paddr match p_vaddr), or the config option gets disabled, or (if this is expected to work) head.S gets updated. Thanks, Jan