This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
Home Products Support Community News


Re: [Xen-devel] [patch] [3/3] dom0_ops explicitly sized types

To: Chris Wright <chrisw@xxxxxxxxxxxx>
Subject: Re: [Xen-devel] [patch] [3/3] dom0_ops explicitly sized types
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Sat, 27 May 2006 01:42:52 +0100
Cc: Muli Ben-Yehuda <muli@xxxxxxxxxx>, xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, xen-ppc-devel@xxxxxxxxxxxxxxxxxxx, Hollis Blanchard <hollisb@xxxxxxxxxx>, Ian Campbell <Ian.Campbell@xxxxxxxxxxxxx>
Delivery-date: Fri, 26 May 2006 17:43:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060526195730.GH2724@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060525153957.GO6710@xxxxxxxxxxxx> <1148583731.15517.16.camel@xxxxxxxxxxxxxxxxxxxxx> <20060526133221.GA5569@xxxxxxxxxxxxxxxxx> <1148653733.24768.49.camel@xxxxxxxxxxxxxxxxxxxxx> <1148657437.26643.5.camel@xxxxxxxxxxxxxxxxxxxxx> <1148660853.24768.97.camel@xxxxxxxxxxxxxxxxxxxxx> <1148665048.26643.12.camel@xxxxxxxxxxxxxxxxxxxxx> <20060526185746.GG2724@xxxxxxxxxxxxxxxxx> <20060526193805.GA5171@xxxxxxxxxxxxxxxxxxxx> <20060526195730.GH2724@xxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
On Fri, May 26, 2006 at 12:57:30PM -0700, Chris Wright wrote:

> > This won't work on platforms that don't provide __u64. Xen needs to
> > define them somewhere for the userspace.
> +++ b/linux-2.6-xen-sparse/include/xen/public/privcmd.h
> That's specifically the part I'm talking about.
> WRT Xen's public headers, that's a different issue, however there's
> still some of the same namespace concerns.  Of course, I'd be thrilled
> to make it all __u64 in public headers w/ appropriate types.h involved.
> And realisitically, platforms will all need some santized version of the
> headers anyway.

Yes, but hopefully it will be possible to provide the structure
definitions in some generic form, possibly by including another header
that has the platform-specific parts (such as ioctl numbers, __u64
definitions on Solaris, etc.)

It would be a shame if we had to duplicate the structure definitions 3
or more times.


Xen-devel mailing list