From mboxrd@z Thu Jan 1 00:00:00 1970 From: Juergen Gross Subject: Re: [PATCH V3] Add flag to start info regarding virtual mapped p2m list Date: Mon, 16 Mar 2015 07:43:46 +0100 Message-ID: <55067BA2.6090207@suse.com> References: <1425452205-10380-1-git-send-email-jgross@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii"; Format="flowed" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta3.messagelabs.com ([195.245.230.39]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YXOkf-00007O-CN for xen-devel@lists.xenproject.org; Mon, 16 Mar 2015 06:43:49 +0000 In-Reply-To: <1425452205-10380-1-git-send-email-jgross@suse.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: keir@xen.org, Ian.Campbell@citrix.com, andrew.cooper3@citrix.com, ian.jackson@eu.citrix.com, tim@xen.org, david.vrabel@citrix.com, jbeulich@suse.com, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org On 03/04/2015 07:56 AM, Juergen Gross wrote: > In order to indicate the Xen tools capability to support the virtual > mapped linear p2m list instead the 3 level mfn tree add a flag to the > start_info page. > > Signed-off-by: Juergen Gross Ping? > --- > xen/include/public/xen.h | 10 ++++++---- > 1 file changed, 6 insertions(+), 4 deletions(-) > > diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h > index 3703c39..66c09a3 100644 > --- a/xen/include/public/xen.h > +++ b/xen/include/public/xen.h > @@ -773,10 +773,12 @@ typedef struct start_info start_info_t; > #endif /* XEN_HAVE_PV_GUEST_ENTRY */ > > /* These flags are passed in the 'flags' field of start_info_t. */ > -#define SIF_PRIVILEGED (1<<0) /* Is the domain privileged? */ > -#define SIF_INITDOMAIN (1<<1) /* Is this the initial control domain? */ > -#define SIF_MULTIBOOT_MOD (1<<2) /* Is mod_start a multiboot module? */ > -#define SIF_MOD_START_PFN (1<<3) /* Is mod_start a PFN? */ > +#define SIF_PRIVILEGED (1<<0) /* Is the domain privileged? */ > +#define SIF_INITDOMAIN (1<<1) /* Is this the initial control domain? */ > +#define SIF_MULTIBOOT_MOD (1<<2) /* Is mod_start a multiboot module? */ > +#define SIF_MOD_START_PFN (1<<3) /* Is mod_start a PFN? */ > +#define SIF_VIRT_P2M_4TOOLS (1<<4) /* Do Xen tools understand a virt. mapped */ > + /* P->M making the 3 level tree obsolete? */ > #define SIF_PM_MASK (0xFF<<8) /* reserve 1 byte for xen-pm options */ > > /* >