Re: Extending boot protocol & bzImage for paravirt_ops

From: H. Peter Anvin
Date: Sat May 26 2007 - 20:14:59 EST


Jeremy Fitzhardinge wrote:
>
> I'd really prefer to keep an intact embedded ELF file rather than have a
> semi-ELF file. That way it would be easier to simply load the image and
> point the normal ELF machinery at some offset into the file rather than
> having to have a special handler for "\x7fBZE" or whatever.
>

Pardon me for saying it, but it's hardly a hardship to add support for a
single additional constant in existing code. I'm starting to think this
argument is approaching not just the silly, but downright ridiculous.

Another option is to have the ELF header at a nonzero offset.

-hpa
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/