From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH v1 04/12] xen/hvmlite: Bootstrap HVMlite guest Date: Sat, 23 Jan 2016 10:28:25 -0800 Message-ID: <245705D4-4534-4BB2-96D7-2B48A3E41284__29929.4387725697$1453573828$gmane$org@zytor.com> References: <1453498558-6028-1-git-send-email-boris.ostrovsky@oracle.com> <1453498558-6028-5-git-send-email-boris.ostrovsky@oracle.com> <20160122233218.GA20964@wotan.suse.de> <56A2C99A.2050701@citrix.com> <56A39300.8050802@citrix.com> <6012806F-E377-4444-9925-AA64210081E4@oracle.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta4.messagelabs.com ([85.158.143.247]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aN2vc-0005rx-ON for xen-devel@lists.xenproject.org; Sat, 23 Jan 2016 18:28:52 +0000 In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Konrad Rzeszutek Wilk , Andrew Cooper , "Luis R. Rodriguez" , =?ISO-8859-1?Q?Roger_Pau_Monn=E9?= Cc: Juergen Gross , Jeremy Fitzhardinge , Rusty Russell , "linux-kernel@vger.kernel.org" , Andy Lutomirski , David Vrabel , xen-devel@lists.xenproject.org, Boris Ostrovsky , Borislav Petkov List-Id: xen-devel@lists.xenproject.org On January 23, 2016 8:12:23 AM PST, Konrad Rzeszutek Wilk wrote: >On January 23, 2016 11:01:06 AM EST, "H. Peter Anvin" >wrote: >>On January 23, 2016 7:34:33 AM PST, Konrad Rzeszutek Wilk >> wrote: >>> >>>>However, this stub belongs in Linux, not in the Xen toolstack. That >>>>way, when the Linux boot protocol is modified, both sides can be >>>>updated >>>>accordingly. >>> >>>I would add that this idea is borrowed from the EFI stub code that >>>Linux has which also constructs the boot parameter structure when >>>invoked (either from firmware or from EFI shell). >> >>There is a huge difference though: EFI is a widely used multivendor >>industry standard. You are taking about something Xen-specific, and >>which in good Xen tradition isn't even documented, apparently (did we >>ever get documentation for the hypervisor ABI?) >> >>Asking "why burden Xen with something Linux-specific" is a pretty >>extreme case of the tail wagging the dog. >> >>That being said, before any code can be put anywhere, it needs to be >>written. We can argue where to put it later. We went through this >>process with the EFI stub, too: a standalone implementation (efilinux) >>first. > >http://lists.xenproject.org/archives/html/xen-devel/2015-12/msg01793.html > >I believe is the latest version. Roger (CCed) has probably an updated >one. I suspect you should write a noninteractive bootloader as a reference implementation, and then consider porting Grub2 and maybe Syslinux to your ABI for those that want a full featured interactive bootloader compatible with the normal management. -- Sent from my Android device with K-9 Mail. Please excuse brevity and formatting.