[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: multiboot2 and module2 boot issues via GRUB2
- To: Jan Beulich <jbeulich@xxxxxxxx>
- From: Andrew Cooper <andrew.cooper3@xxxxxxxxxx>
- Date: Tue, 6 Apr 2021 18:51:18 +0100
- Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=citrix.com; dmarc=pass action=none header.from=citrix.com; dkim=pass header.d=citrix.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=Gp2PlTHCZ9yAIsl7sHQCptBU5La8g8zCht8zzfL4ZP0=; b=MqsuDoAv+6tYDflSh36thAe15Mx7itz9DdHRYOnnXxI0q/nWwTEMgwxBwPaEb2zjd3hgXRfm2UTlk2Sn118+24skqnB/zTKXmJe1qLMRhxHQrXN/7o70g9skPa+/9j9gL2NfWAI/UyFS81yrzfXiiWZ81gJRg+72NYMpKVrUeKyhFG9vGmAp0wxmiPwNoITHQFfxjFi7g6BGW7x+z8XAGAsp/GHr+UJjPNweqibw/XpWYbFl+qOvTKtNYLk0eVsw2ZDDb1ikrE2jAijK04eP5qTIe2jVKdP/s1j9jdcaDnrRSWVa2HSeG0e2cTYnRUrG5P2KAnqhy2oOf4wfkSkPbg==
- Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Vb4twpL8siboKtRnwsSlSUIJjQMQCV1XX4Wf6eM0k9BXh/ZcYB/5+PFF+6cgBZDZKxLq+ewrQzfHc7fP/RIfrMjcBYX+kutRvyb1DVsEVgBCq7tUS5uwT5mWiUMjmAXIesnqGNIiHpGPiA8klyNUsGG3ZdcP0gjKBqApJa4pTexOPIEJbUEfYS/LOO3kYwN2O0mf8Biol+n0mZD/m3fiErgIcUMZlVfI9pzhWzxrkbMimdhuYdHVrQDLhMY7qKXr3H90aRzgfH7gWIENrqS8KPcEcbtyOJHgJH27ZPpf049wHGMYe6UdR2XYsUwbVBWl+l4KBlsbHF6m/YiBZa1iBQ==
- Authentication-results: esa3.hc3370-68.iphmx.com; dkim=pass (signature verified) header.i=@citrix.onmicrosoft.com
- Cc: Roman Shaposhnik <roman@xxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxxx>, <grub-devel@xxxxxxx>, Roger Pau Monné <roger.pau@xxxxxxxxxx>
- Delivery-date: Tue, 06 Apr 2021 17:51:38 +0000
- Ironport-hdrordr: A9a23:jKB8a69NorlnWQpgzvFuk+F3cL1zdoIgy1knxilNYDRvWIixi9 2ukPMH1RX9lTYWXzUalcqdPbSbKEmzybdc2qNUGbu5RgHptC+TLI9k5Zb/2DGIIULD38Zn/+ Nbf6B6YeedMXFTkdv67A6kE9wp3dmA9+SSif3Dymp2JDsLV4hLxW5Ce2GmO2dxQxRLAod8MZ Ka6NZOqTbIQwVoUu2QAH4ZU+/f4+DRnJX9bhIcQzIh4g+CjTSngYSKbCSw9BEYTj9J3PMe4X HI+jaJmpmLntOa7lvn12HV54lLg9eJ8Lp+LeGFl8R9EESWti+Gf4JkMofyxQwdgObq01oylc mJnhFIBbUP11r0XkWY5STgwBPh1jFG0Q6R9Xa9jWH4qcL0ABIWYvAx/b5xSRfS50o+sNwU6s sitAj1xvknb2K1oA3H69fFTB1snEavyEBS99I7tHBDTZAYLIZYsI13xjInLL47ACn45Io7ed Meaf302fA+SyL/U1nkpGV1hPSjUnMvdy32OHQqi4i+1jhbm21B1E0IxMATtWdozuNMd7B0o8 vDKahmj7dIU4s/ar98Hv4IRY+NBnXKWg+kChPdHX3XUIU8f17doZ/+57s4oMmsZZwz1ZM33L DMSklRu2Iec1/nYPf+naFjw1ToeiGQTD7twsZR69xSobvnXofmNiWFVRQHj9agi+93OLyYZ9 +DfLZtR9PzJ2rnHohEmyfkXYNJFHUYWMoJ/v4mRlO1pN7RIIGCjJ2ZTN/jYJ7WVRo0UG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L03vZzHD1l0/Mwt3WlvPiwsx4F/wGpQ4VRapZWxg1yR ELV3BYm/EnWdBbBO7HhO0BQK3EnItegd9riInHZQ2niJXzElrimH4hE9v+PZUbOiVspZlM3/60 ZAUoYfxwdbC7sXeH8P9gOrLI/Zt5iz9DcF7XvhhDj/VZy47HnRRt0H3k4iqKEOL7XqEV2ZNeo7 gvU=
- List-id: Xen developer discussion <xen-devel.lists.xenproject.org>
On 06/04/2021 09:19, Jan Beulich wrote:
> On 01.04.2021 21:43, Andrew Cooper wrote:
>> On 01/04/2021 09:44, Roger Pau Monné wrote:
>>> On Thu, Apr 01, 2021 at 09:31:07AM +0200, Jan Beulich wrote:
>>>> On 01.04.2021 03:06, Roman Shaposhnik wrote:
>>>>> And the obvious next question: is my EVE usecase esoteric enough that
>>>>> I should just go ahead and do a custom GRUB patch or is there a more
>>>>> general interest in this?
>>>> Not sure if it ought to be a grub patch - the issue could as well
>>>> be dealt with in Xen, by concatenating modules to form a monolithic
>>>> initrd.
>>> I would rather have it done in the loader than Xen, mostly because
>>> it's a Linux boot specific format, and hence I don't think Xen should
>>> have any knowledge about it.
>>>
>>> If it turns out to be impossible to implement on the loader side we
>>> should consider doing it in Xen, but that's not my first option.
>> Concatenating random things which may or may not be initrds is
>> absolutely not something Xen should do. We don't have enough context to
>> do it safely/sensibly.
> Well, I wasn't suggesting anywhere to concatenate random things.
> Instead I was envisioning a command line option giving us the
> context we need (e.g. "initrd=3+5").
That's a massive layering violation, and incredibly fragile to the order
of lines in the boot stanza.
Either fix it by using a single monolithic initrd, which has worked
perfectly well for the past 2 decades, or add a feature to grub to get
initrd-like behaviour for MB2 too. I will object very strongly to any
Xen patches trying to do this.
~Andrew
|