[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v3 2/5] xen/x86: manually build xen.mb.efi binary
On 17.05.2021 15:20, Daniel Kiper wrote: > On Mon, May 17, 2021 at 08:48:32AM +0200, Jan Beulich wrote: >> On 07.05.2021 22:26, Bob Eshleman wrote: >>> What is your intuition WRT the idea that instead of trying add a PE/COFF hdr >>> in front of Xen's mb2 bin, we instead go the route of introducing valid mb2 >>> entry points into xen.efi? >> >> At the first glance I think this is going to be less intrusive, and hence >> to be preferred. But of course I haven't experimented in any way ... > > When I worked on this a few years ago I tried that way. Sadly I failed > because I was not able to produce "linear" PE image using binutils > exiting that days. What is a "linear" PE image? > Maybe > newer binutils are more flexible and will be able to produce a PE image > with properties required by Multiboot2 protocol. Isn't all you need the MB2 header within the first so many bytes of the (disk) image? Or was it the image as loaded into memory? Both should be possible to arrange for. Jan
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |