From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Williamson Subject: Re: Documentation For Writing a Split Driver Date: Mon, 19 Feb 2007 16:33:47 +0000 Message-ID: <200702191633.47832.mark.williamson@cl.cam.ac.uk> References: <45D4C3A0.3010908@purdue.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <45D4C3A0.3010908@purdue.edu> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ryan Riley List-Id: xen-devel@lists.xenproject.org > I've spent the last few weeks digging around in Xen code and old > documentation to produce my own simple split driver for 3.0.4-2 to > handle some logging stuff that I'm doing. In the process, I quickly > discovered that the Wiki documentation for adding a new driver to Xen is > a little lacking. Is there any interest in me documenting any/all of > the following and contributing it? Absolutely!!!!! > -Creating a backend/frontend skeleton driver and adding it to the kernel. Yep. I remember there being a skeleton example driver floating around on the list at some point, but APIs may have changed since then I guess. > -Modifying xend and xm to initialize the XenStore for it. (and hence > get the probe functions to be called) Yep. This is actually not that complicated, but it'd be nice to have it documented. > -Setting up event channels > -Setting up a ring buffer > -Sharing memory pages between domains (basically the grant tables) All good stuff. You might also like to take a look at the stuff covered in the interface manual (it's in the source tree) and see if there's any overlap with what you're writing - it would be nice to avoid duplicating information in multiple places, so that it won't get out of sync later. Cheers, Mark -- Dave: Just a question. What use is a unicyle with no seat? And no pedals! Mark: To answer a question with a question: What use is a skateboard? Dave: Skateboards have wheels. Mark: My wheel has a wheel!