[PATCH 5/8] kexec: extend hypercall with improved load/unload ops

David Vrabel david.vrabel at citrix.com
Fri Mar 8 06:40:44 EST 2013


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



More information about the kexec mailing list