From: "Jan Beulich" Subject: Re: [PATCH V2] Add flag to start info regarding virtual mapped p2m list Date: Wed, 04 Mar 2015 08:58:16 +0000 Message-ID: <54F6D73802000078000660CF@mail.emea.novell.com> References: <1425374993-32028-1-git-send-email-jgross@suse.com> <54F59ABD02000078000658FB@suse.com> <54F58DA1.5000401@suse.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mail6.bemta14.messagelabs.com ([193.109.254.103]) by lists.xen.org with esmtp (Exim 4.72) (envelope-from ) id 1YT58F-0007AJ-LJ for xen-devel@lists.xenproject.org; Wed, 04 Mar 2015 08:58:19 +0000 In-Reply-To: <54F58DA1.5000401@suse.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Juergen Gross Cc: keir@xen.org, Ian.Campbell@citrix.com, andrew.cooper3@citrix.com, ian.jackson@eu.citrix.com, tim@xen.org, david.vrabel@citrix.com, xen-devel@lists.xenproject.org List-Id: xen-devel@lists.xenproject.org >>> On 03.03.15 at 11:32, wrote: > On 03/03/2015 11:27 AM, Jan Beulich wrote: >>>>> On 03.03.15 at 10:29, <"jgross@suse.com".non-mime.internet> 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 >>> --- >>> xen/include/public/xen.h | 2 ++ >>> 1 file changed, 2 insertions(+) >>> >>> diff --git a/xen/include/public/xen.h b/xen/include/public/xen.h >>> index 3703c39..36c6d62 100644 >>> --- a/xen/include/public/xen.h >>> +++ b/xen/include/public/xen.h >>> @@ -777,6 +777,8 @@ typedef struct start_info start_info_t; >>> #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 (1<<4) /* Does Xen 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 */ >>> >>> /* >> >> Is there any reason why this can't be part of the tools patch (series) >> actually going to make use of it? > > The main reason is I want to make use of it in the related kernel > series first. And this requires the Xen header implementation. I was about to apply v3, but I'm still unconvinced: How would you test those kernel side changes without having anything to set the flag? Jan