[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


  • To: Jan Beulich <jbeulich@xxxxxxxx>
  • From: Daniel Kiper <daniel.kiper@xxxxxxxxxx>
  • Date: Mon, 17 May 2021 15:20:39 +0200
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=v32yXVdAri+fD1f6xpe0cgv9FFzz9yQJUWmLf+6uHF8=; b=cVnEWzb0kq8Nr14u8buq2Ko9D5BiolyGUk0yjpDZQN7KM7jhu8QtVwe8erdCO/VNs7P1a0K0cR/96UweAjZ1Ax6xz1ojtg99+I7VvNf6Jxu8yHyeNsmO5HZIFP9RcTDFmL0ArZ+95zlrKaEoSN90YrqAIlTAd5N2YtpQiLufJqDXvN8MteUt/BWEI3PyW1AxJwVBy1Y3Uuyc9j8ZmR8RWxQ/1/dUiG8TtdB38oygpuquRYxFrandpZr/nwoW+oE1TLl/RpiJGUro+bxn8hAODdTZcY7TfWgJKgN6gQkvdzr92ISPB8X4/nFjfivtzAPC8eT4FbyOJkoRWoNvlrORTQ==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=bly/fNd/Ylcv+6kSZd+9eb9SAVU2j2AP+Kv8wzfi9OIFaofjITvnC6j2u+8CxuZewElWeRdaXw9VbHsfyDbJ5DZfOiDQMDAIGHJ4qVlloeY57t3LUwlNQ6Wcjt1fP1VnxZaCOO095X+oNMmIIpOXZcT3XFa2omhswrVsoUggrQuVxV0TVS/HyXh7ySgvdtggFTVh0DS6i3LTZdpqrSoMfvHrgZk5MmIWBew5tskbsw9Nt9nMnWnhFj/+EPhM5EqrwIALsSzr3aeFjN4rka7sGP2pfptQS3hUjorqUFWG01nhbBorJCqKT0aGfO/HVHVOiGVTyaRJArFHPbRDDX+UIA==
  • Authentication-results: suse.com; dkim=none (message not signed) header.d=none;suse.com; dmarc=none action=none header.from=oracle.com;
  • Cc: Bob Eshleman <bobbyeshleman@xxxxxxxxx>, Andrew Cooper <andrew.cooper3@xxxxxxxxxx>, George Dunlap <george.dunlap@xxxxxxxxxx>, Ian Jackson <iwj@xxxxxxxxxxxxxx>, Julien Grall <julien@xxxxxxx>, Stefano Stabellini <sstabellini@xxxxxxxxxx>, Wei Liu <wl@xxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>
  • Delivery-date: Mon, 17 May 2021 13:21:09 +0000
  • List-id: Xen developer discussion <xen-devel.lists.xenproject.org>

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. Though I think you should try once again. Maybe
newer binutils are more flexible and will be able to produce a PE image
with properties required by Multiboot2 protocol.

Daniel



 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.