From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753313AbcAWQMt (ORCPT ); Sat, 23 Jan 2016 11:12:49 -0500 Received: from aserp1040.oracle.com ([141.146.126.69]:50853 "EHLO aserp1040.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750759AbcAWQMq convert rfc822-to-8bit (ORCPT ); Sat, 23 Jan 2016 11:12:46 -0500 User-Agent: K-9 Mail for Android In-Reply-To: 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=UTF-8 Content-Transfer-Encoding: 8BIT Subject: Re: [Xen-devel] [PATCH v1 04/12] xen/hvmlite: Bootstrap HVMlite guest From: Konrad Rzeszutek Wilk Date: Sat, 23 Jan 2016 11:12:23 -0500 To: "H. Peter Anvin" , 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: X-Source-IP: aserv0021.oracle.com [141.146.126.233] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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. From mboxrd@z Thu Jan 1 00:00:00 1970 From: Konrad Rzeszutek Wilk Subject: Re: [PATCH v1 04/12] xen/hvmlite: Bootstrap HVMlite guest Date: Sat, 23 Jan 2016 11:12:23 -0500 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.bemta5.messagelabs.com ([195.245.231.135]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1aN0nl-0006cT-3K for xen-devel@lists.xenproject.org; Sat, 23 Jan 2016 16:12:37 +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: "H. Peter Anvin" , 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 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.