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 08:01:06 -0800 Message-ID: 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 1aN0cz-0006Eq-Dm for xen-devel@lists.xenproject.org; Sat, 23 Jan 2016 16:01:29 +0000 In-Reply-To: <6012806F-E377-4444-9925-AA64210081E4@oracle.com> 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 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. -- Sent from my Android device with K-9 Mail. Please excuse brevity and formatting.