From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753435AbcAWQBr (ORCPT ); Sat, 23 Jan 2016 11:01:47 -0500 Received: from terminus.zytor.com ([198.137.202.10]:33848 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750759AbcAWQBo (ORCPT ); Sat, 23 Jan 2016 11:01:44 -0500 User-Agent: K-9 Mail for Android In-Reply-To: <6012806F-E377-4444-9925-AA64210081E4@oracle.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-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [Xen-devel] [PATCH v1 04/12] xen/hvmlite: Bootstrap HVMlite guest From: "H. Peter Anvin" Date: Sat, 23 Jan 2016 08:01:06 -0800 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 Message-ID: Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.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.