On 08/03/13 11:23, Daniel Kiper wrote: > On Thu, Feb 21, 2013 at 05:48:11PM +0000, David Vrabel wrote: >> >> + /* Need to switch to 32-bit mode? */ >> + testq $KEXEC_RELOC_FLAG_COMPAT, %r8 >> + jnz call_32_bit > > Why do you need that? This is not needed because purgatory code > from kexec-tools always switches to 32-bit mode. Please check > kexec-tools/purgatory/arch/x86_64/entry64.S. The sub-architecture is a property of the image. Why should the tool know or care about the sub-architecture of the hypervisor? The ABI isn't designed only for kexec-tools. David