Received: by 10.223.185.116 with SMTP id b49csp7580481wrg; Thu, 1 Mar 2018 07:44:44 -0800 (PST) X-Google-Smtp-Source: AG47ELtry4Zdvs3NHY3yWaYkNHe7k8FVncN/bIsXfZFwpAy4NMKOQs8DyXg+v4z1LUPtk5Z9PSVm X-Received: by 2002:a17:902:b482:: with SMTP id y2-v6mr2325597plr.49.1519919083836; Thu, 01 Mar 2018 07:44:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519919083; cv=none; d=google.com; s=arc-20160816; b=LfUs/kQSOcM7MYI9+A89zUfin/D80cMZz79ZmtNuXle/Ur3Snl5UqwZ/EOsfSIbM7q BHysQeDccf/YI4kiMkQ7r2f6hk969EI3+4AhbWpeKTozsm/qMp/FoKTOBfvJLn1z5syU H76KeVZIyZfrIEsUe1d48D1S6armylm6x+6EPZ+vyzbGu1ZDElLQuDlvGa2wa3zzZy2y OQmZpblnCr9DUbw9+8UGQivp0LJZtYge0pyse8x2jU3SuRfyBpz0uDIkx2+KmUkhI12q aoN4Ppg5Xl3mpMnUFInDPkSNsKwlpr0LAroqYb/DX0p2JjEEMLJpLEdlROOxYM4NIWQ3 U72A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=m2YqKdG5HVEI5gEWYEc4H/F3dAz5yAckbg2SLeMcJd0=; b=ChODm9porsByJEnBXDHXbGQwhq7RJk+RLJGUabEmsS+lEX/5Qgga2ZmeMbCuA7uO9l UxyJPmY8AwkadZkOfUhdNdGY921Ej86Cc6ZCxFZlEDwjh3nrEBBH07pArvPcYwjnoVBb to5/lLDt1Ieb3ozQomMAw+c+U9+xfEPmVSsnHirxGakHuVWHLBUbr7V4nfnGFVkZo1lt Qxkz8/8KexO6vmbS9oos1/W6lGB0XPdyyIYEVdZVHeUuo36ok36C0OoqzmzkWvDIGPDp r1MM61XNrz/hnPehhheANNdInX7NTAjCaQ0Jr/oOuHoFLIlsVM5XR7e/b82Wv7E3FZaq xl7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=Uw8GxraF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t25si2555304pge.714.2018.03.01.07.44.29; Thu, 01 Mar 2018 07:44:43 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2017-10-26 header.b=Uw8GxraF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031966AbeCAPYh (ORCPT + 99 others); Thu, 1 Mar 2018 10:24:37 -0500 Received: from aserp2130.oracle.com ([141.146.126.79]:44606 "EHLO aserp2130.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031940AbeCAPYd (ORCPT ); Thu, 1 Mar 2018 10:24:33 -0500 Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w21FMQ4p161409; Thu, 1 Mar 2018 15:23:47 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=date : from : to : cc : subject : message-id : references : mime-version : content-type : in-reply-to; s=corp-2017-10-26; bh=m2YqKdG5HVEI5gEWYEc4H/F3dAz5yAckbg2SLeMcJd0=; b=Uw8GxraF2cBiDJ+zzumlxapz4T1zbWyxn4Sj0sGoWbzbwbiI48SvSXQLx7+DRBP6ZANI 4JGlBI/ln2d2ZJ1+nVG/70hDMfrmOFsYi8wADczAgS4mtBubUgd6587EmMaj1QmclzIT g8LFnFE/y6K50aioHh9p7pytMLNw95T1dsjw2vlTTirdLNOAN0xxK86r+gV+KBywgq2n vhGBXpU0nBbrVgSlyrGh6w/iNyBzRYcI7QO1orBc/6Re2pUAPJY70WGUkmziPrQ2mJWs FWlStLZelIoOkULoQBswE0XA2yVB/kZEuq/HAvSnnW5GaNke3z1EPD3HbsfrWoZnlopQ sg== Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2130.oracle.com with ESMTP id 2gem0h816d-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 01 Mar 2018 15:23:46 +0000 Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w21FNjbg001842 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 1 Mar 2018 15:23:46 GMT Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w21FNide004238; Thu, 1 Mar 2018 15:23:44 GMT Received: from char.us.oracle.com (/10.137.176.158) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 01 Mar 2018 07:23:43 -0800 Received: by char.us.oracle.com (Postfix, from userid 1000) id E84916A00EF; Thu, 1 Mar 2018 10:23:40 -0500 (EST) Date: Thu, 1 Mar 2018 10:23:40 -0500 From: Konrad Rzeszutek Wilk To: Maran Wilson Cc: pbonzini@redhat.com, jgross@suse.com, boris.ostrovsky@oracle.com, roger.pau@citrix.com, andrew.cooper3@citrix.com, hch@infradead.org, JBeulich@suse.com, x86@kernel.org, xen-devel@lists.xenproject.org, linux-kernel@vger.kernel.org, kvm@vger.kernel.org, thomas.lendacky@amd.com, dave.hansen@linux.intel.com, rkrcmar@redhat.com, gregkh@linuxfoundation.org, mchehab@kernel.org, hpa@zytor.com, linus.walleij@linaro.org, mingo@redhat.com, rdunlap@infradead.org, luto@kernel.org, jpoimboe@redhat.com, tglx@linutronix.de, bp@suse.de, davem@davemloft.net, kirill.shutemov@linux.intel.com Subject: Re: [Xen-devel] [RFC PATCH v4 6/7] xen/pvh: Add memory map pointer to hvm_start_info struct Message-ID: <20180301152340.GI15623@char.us.oracle.com> References: <1519842483-8887-1-git-send-email-maran.wilson@oracle.com> <1519842483-8887-7-git-send-email-maran.wilson@oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1519842483-8887-7-git-send-email-maran.wilson@oracle.com> User-Agent: Mutt/1.8.3 (2017-05-23) X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8819 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=841 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1803010193 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Feb 28, 2018 at 10:28:02AM -0800, Maran Wilson wrote: > The start info structure that is defined as part of the x86/HVM direct boot > ABI and used for starting Xen PVH guests would be more versatile if it also > included a way to pass information about the memory map to the guest. This > would allow KVM guests to share the same entry point. > > Signed-off-by: Maran Wilson > --- > include/xen/interface/hvm/start_info.h | 50 +++++++++++++++++++++++++++++++++- > 1 file changed, 49 insertions(+), 1 deletion(-) > > diff --git a/include/xen/interface/hvm/start_info.h b/include/xen/interface/hvm/start_info.h > index 648415976ead..80cfbd35c1af 100644 > --- a/include/xen/interface/hvm/start_info.h > +++ b/include/xen/interface/hvm/start_info.h > @@ -33,7 +33,7 @@ > * | magic | Contains the magic value XEN_HVM_START_MAGIC_VALUE > * | | ("xEn3" with the 0x80 bit of the "E" set). > * 4 +----------------+ > - * | version | Version of this structure. Current version is 0. New > + * | version | Version of this structure. Current version is 1. New Have you checked if there are any OSes that end up checking this value at all? Perhaps also expand the comment to say that for PV guests only 0 is allowed. For PVH 0 or 1 is allowed ?