Zachary Amsden wrote: > Chris Wright wrote: >> Change LOAD_OFFSET so that the kernel has virtual addresses in the elf >> header fields. >> >> Unlike bare metal kernels, Xen kernels start with virtual address >> management turned on and thus the addresses to load to should be >> virtual addresses. > > This patch interferes with using a traditional bootloader. The loader > for Xen should be smarter - it already has VIRT_BASE from the xen_guest > section, and can simply add the relocation to these header fields. This > is unnecessary, and one of the many reasons a Xen kernel can't run in a > normal environment. I fully agree. Attached below is a patch (against xen unstable mercurial tree) which does exactly that ;) 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