This patch defines XC_PAGE_SIZE in libxc and removes assumptions about the page size being 4096 bytes, in preparation for the userspace tools supporting ia64 Xen (which currently uses a 16KB page size). Matt Signed-off-by: Matthew Chapman <matthewc@hp.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
Tian, Kevin
2005-Jun-15 15:03 UTC
RE: [Xen-devel] [PATCH] fix page size assumptions in tools
>-----Original Message----- >From: xen-devel-bounces@lists.xensource.com >[mailto:xen-devel-bounces@lists.xensource.com] On Behalf Of MattChapman>Sent: Wednesday, June 15, 2005 4:03 AM > >This patch defines XC_PAGE_SIZE in libxc and removes >assumptions about the page size being 4096 bytes, in >preparation for the userspace tools supporting ia64 >Xen (which currently uses a 16KB page size). > >Matt > >Signed-off-by: Matthew Chapman <matthewc@hp.com>Is that right way for control panel to have such assumption about page size of Xen? Especially for architectures supporting multiple page size like IA64, we need a control panel able to run on Xen with any page size configured, without modification. Even on x86, we can''t eliminate the possibility of special version of Xen + xenolinux with a default 2M page in the future. :) A cleaner way may be to add page size info in DOM0_GETDOMAININFO, together with tot_pages. Thanks, Kevin _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel