|
|
|
|
|
|
|
|
|
|
xen-devel
RE: [Xen-devel] [PATCH] fix page size assumptions in tools
>-----Original Message-----
>From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
>[mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of Matt
Chapman
>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@xxxxxx>
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@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|