[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [PATCH] Add an ioctl interface for simple xenstore access
On 18 Mar 2006, at 07:14, Muli Ben-Yehuda wrote:
This patch adds an ioctl interface to /proc/xen/xenbus to allow simple access to xenstore from domU. This patch introduces only xenbus_read() support, but write, remove, etc could be easily added. Also, this interface can be easily moved to /dev/xen/xenbus (or something similar) later.Hmm, wouldn't a virtual file system be a much better fit for xenstore access? the kernel community considers ioctls Evil with a capital E.
Also, we already support xenstore access via read/write on that device file. And libxenstore knows how to target that read/write interface. Why would we add an ioctl to do the same thing?
-- Keir _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
Lists.xenproject.org is hosted with RackSpace, monitoring our