> some with p_vaddr == p_paddr on purpose and some which don't. We rely on a > "boot loader" (ie grub or domain builder) that only cares about p_paddr. Same goes for the x86_64 linux kernel with the vsyscall page ... I've settled for a slightly different approach now. To keep behaviour as close as possible to classic i386 boot loaders I'll check paddr only and use the virt_base value from the __xen_guest section to shift the addresses. For bug compatibility with old linux kernels I compare paddr + virt_base. New patch below, this time tested both 32 and 64 bit (linux only though), I think it should be ok for OpenSolaris too ;) cheers, Gerd -- Gerd 'just married' Hoffmann I'm the hacker formerly known as Gerd Knorr. http://www.suse.de/~kraxel/just-married.jpeg