WARNING - OLD ARCHIVES

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/
Xen

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Re: [PATCH 2.6.12.6-xen] sysfs attributes for xen

To: "Mike D. Day" <ncmike@xxxxxxxxxx>
Subject: Re: [Xen-devel] Re: [PATCH 2.6.12.6-xen] sysfs attributes for xen
From: Greg KH <greg@xxxxxxxxx>
Date: 2006年1月30日 09:26:09 -0800
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Dave Hansen <haveblue@xxxxxxxxxx>, lkml <linux-kernel@xxxxxxxxxxxxxxx>
Delivery-date: 2006年1月30日 18:05:09 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <43DE4A1D.4050501@xxxxxxxxxx>
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: <43DAD4DB.4090708@xxxxxxxxxx> <1138637931.19801.101.camel@xxxxxxxxxxxxxxxxxxxxx> <43DE45A4.6010808@xxxxxxxxxx> <1138640666.19801.106.camel@xxxxxxxxxxxxxxxxxxxxx> <43DE4A1D.4050501@xxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.11
On Mon, Jan 30, 2006 at 12:17:17PM -0500, Mike D. Day wrote:
> Dave Hansen wrote:
> >In the final version, there will be available Xen headers, and the patch
> >won't need the open-coded 1024?
>
> Good question, I need some advice. The Xen hcall headers get soft-linked 
> into every paravirtualized OS tree: linux, bsd, solaris, etc. In linux 
> right now the xen version.h shows up as /include/asm-xen/version.h.
>
> This file uses typedefs for every important parameter. For example, typedef 
> char [1024] xen_capabilities_info_t;. 
> But as Greg says TYPEDEFS ARE EVIL. 
Then just make it a structure. All the operating systems will be able
to handle that just fine :)
thanks,
greg k-h
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: Re: [Xen-devel] Page cache shared across domain , Amit Patel
Next by Date: [Xen-devel] more than 3 nics in a domU , Hans-Christian Armingeon
Previous by Thread: Re: [Xen-devel] Re: [PATCH 2.6.12.6-xen] sysfs attributes for xen , Greg KH
Next by Thread: [Xen-devel] Xen-3.0.0 and Mini-Os , Vasily Levchenko
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /