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 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Re: [RFC] [PATCH] sysfs support for Xen attributes


On 12 Jan 2006, at 01:32, Dave Hansen wrote:

Do you have a definitive list of things that you want to export?  Are
they things that come and go, or are they static?  Do you want hotplug
events for them?  Some of those things may be better fit platform
devices.  Notice that ACPI has entries in /sys/firmware/acpi
and /sys/devices/system/acpi.

This is a good set of questions. We have about half dozen files in /proc/xen right now. One is an obvious canididate to stick in /dev, as it has primarily an ioctl() interface. The remainder are static, are read-only or read-write with ascii text, and we don't want hotplug events and other baggage.

Maybe making these attributes of a Xen system device makes sense. Are there examples in the kernel of other subsystems/modules with a similar miscellaneous set of files?

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel