From mboxrd@z Thu Jan 1 00:00:00 1970 From: Boris Ostrovsky Subject: Re: [PATCH v4 1/4] x86/HVM: update the start info structure layout Date: Tue, 16 Feb 2016 16:26:18 -0500 Message-ID: <56C393FA.8090104@oracle.com> References: <1455644269-40358-1-git-send-email-roger.pau@citrix.com> <1455644269-40358-2-git-send-email-roger.pau@citrix.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" 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 1aVn8c-0000an-Vo for xen-devel@lists.xenproject.org; Tue, 16 Feb 2016 21:26:27 +0000 In-Reply-To: <1455644269-40358-2-git-send-email-roger.pau@citrix.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: Roger Pau Monne , xen-devel@lists.xenproject.org Cc: Wei Liu , Ian Campbell , Andrew Cooper , Ian Jackson , Jan Beulich , Samuel Thibault List-Id: xen-devel@lists.xenproject.org On 02/16/2016 12:37 PM, Roger Pau Monne wrote: > diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h > index 7b629b1..6ba060f 100644 > --- a/xen/include/public/xen.h > +++ b/xen/include/public/xen.h > @@ -787,25 +787,46 @@ typedef struct start_info start_info_t; > /* > * Start of day structure passed to PVH guests in %ebx. > * > - * NOTE: nothing will be loaded at physical address 0, so > - * a 0 value in any of the address fields should be treated > - * as not present. > + * NOTE: nothing will be loaded at physical address 0, so a 0 value in any > + * of the address fields should be treated as not present. > + * > + * 0 +----------------+ > + * | magic | Contains the magic value HVM_START_MAGIC_VALUE > + * | | ("xEn3" with the 0x80 bit of the "E" set). > + * 4 +----------------+ > + * | version | Version of this structure. Current version is 0. New > + * | | versions are guaranteed to be backwards-compatible. #define XEN_HVM_START_INFO_VERSION 0 is needed then?