From: Ian Jackson Subject: Re: Re: [Patch] update cpumask handling for cpu pools in libxc and python Date: Fri, 17 Sep 2010 16:51:40 +0100 Message-ID: <19603.36492.398131.135880@mariner.uk.xensource.com> References: <4C9301DB.4050009@ts.fujitsu.com> <1284714037.16095.3083.camel@zakaz.uk.xensource.com> <4C9332EA.3030006@ts.fujitsu.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <4C9332EA.3030006@ts.fujitsu.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Juergen Gross Cc: Ian Campbell , "xen-devel@lists.xensource.com" List-Id: xen-devel@lists.xenproject.org Juergen Gross writes ("Re: [Xen-devel] Re: [Patch] update cpumask handling for cpu pools in libxc and python"): > The hypervisor returns a cpumask based on bytes, the tools use uint64-based > cpumasks. In practice this is equivalent as long as multiple of 8 bytes are > written by the hypervisor and the system is running little endian. Surely we don't intend to tie our code permanently to little-endian cpus ? I don't know whether we have supported any big-endian architectures in the past but I don't think we should rule it out where it's not necessary to do so. Ian.