From: Keir Fraser Subject: Re: [PATCH] Add an ioctl interface for simple xenstore access Date: Sat, 18 Mar 2006 09:50:00 +0000 Message-ID: <01789afa761fc8e2b1f398148de7370c@cl.cam.ac.uk> References: <87r750pupr.fsf@caffeine.beaverton.ibm.com> <20060318071405.GD23816@granada.merseine.nu> Mime-Version: 1.0 (Apple Message framework v623) Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20060318071405.GD23816@granada.merseine.nu> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Muli Ben-Yehuda Cc: Dan Smith , Xen Developers List-Id: xen-devel@lists.xenproject.org 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