From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Campbell Subject: Re: [PATCH 0/2] xen: Allow xen tools to run in guest using 64K page granularity Date: Thu, 25 Jun 2015 12:23:26 +0100 Message-ID: <1435231406.32500.40.camel@citrix.com> References: <1431345336-5476-1-git-send-email-julien.grall@citrix.com> <20150625102147.GC6545@zion.uk.xensource.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 1Z85Fk-0002kN-Qw for xen-devel@lists.xenproject.org; Thu, 25 Jun 2015 11:23:32 +0000 In-Reply-To: <20150625102147.GC6545@zion.uk.xensource.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: Wei Liu Cc: Julien Grall , xen-devel@lists.xenproject.org, tim@xen.org, ian.jackson@eu.citrix.com, stefano.stabellini@citrix.com List-Id: xen-devel@lists.xenproject.org On Thu, 2015-06-25 at 11:21 +0100, Wei Liu wrote: > On Mon, May 11, 2015 at 12:55:34PM +0100, Julien Grall wrote: > > Hi all, > > > > This small series are the only changes required in Xen in order to run a guest > > using 64K page granularity on top of an unmodified Xen. > > > > I'd like feedback from maintainers tools to know if it might be worth to > > introduce a function xc_pagesize() replicating the behavior of getpagesize() > > for Xen. > > > > Can we start with documenting the ABI (?) for communicating between > guests with different page sizes? We should certainly make it clearer what things are in terms of "Xen ABI page size" vs "the guest's page size" and other things. I think we can commit these two without that though? > > Or at least mention the ring mfn always has the size of XC_PAGE_SIZE (if > that's the case). > > Wei. > > > Sincerely yours, > > > > Julien Grall (2): > > tools/xenstored: Use XC_PAGE_SIZE rather than getpagesize() > > tools/xenconsoled: Use XC_PAGE_SIZE rather than getpagesize() > > > > tools/console/daemon/io.c | 4 ++-- > > tools/xenstore/xenstored_domain.c | 4 ++-- > > 2 files changed, 4 insertions(+), 4 deletions(-) > > > > -- > > 2.1.4