All of lore.kernel.org
 help / color / mirror / Atom feed
* Documentation For Writing a Split Driver
@ 2007-02-15 20:33 Ryan Riley
  2007-02-16 14:57 ` Ian Pratt
  2007-02-19 16:33 ` Mark Williamson
  0 siblings, 2 replies; 4+ messages in thread
From: Ryan Riley @ 2007-02-15 20:33 UTC (permalink / raw)
  To: xen-devel

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?
-Creating a backend/frontend skeleton driver and adding it to the kernel.
-Modifying xend and xm to initialize the XenStore for it.  (and hence 
get the probe functions to be called)
-Setting up event channels
-Setting up a ring buffer
-Sharing memory pages between domains (basically the grant tables)

Thanks
Ryan

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Documentation For Writing a Split Driver
  2007-02-15 20:33 Documentation For Writing a Split Driver Ryan Riley
@ 2007-02-16 14:57 ` Ian Pratt
  2007-02-16 15:38   ` Thomas Friebel
  2007-02-19 16:33 ` Mark Williamson
  1 sibling, 1 reply; 4+ messages in thread
From: Ian Pratt @ 2007-02-16 14:57 UTC (permalink / raw)
  To: Ryan Riley, xen-devel

> 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?
> -Creating a backend/frontend skeleton driver and adding it to the
kernel.
> -Modifying xend and xm to initialize the XenStore for it.  (and hence
> get the probe functions to be called)
> -Setting up event channels
> -Setting up a ring buffer
> -Sharing memory pages between domains (basically the grant tables)

"yes please" to all of the above!
Thanks,
Ian

^ permalink raw reply	[flat|nested] 4+ messages in thread

* RE: Documentation For Writing a Split Driver
  2007-02-16 14:57 ` Ian Pratt
@ 2007-02-16 15:38   ` Thomas Friebel
  0 siblings, 0 replies; 4+ messages in thread
From: Thomas Friebel @ 2007-02-16 15:38 UTC (permalink / raw)
  To: Ian Pratt; +Cc: xen-devel, Ryan Riley


[-- Attachment #1.1: Type: text/plain, Size: 208 bytes --]


> > Is there any interest in me documenting any/all of
> > the following and contributing it?

> "yes please" to all of the above!
> Thanks,
> Ian

*metoo*
Very interested in that topic.

Thomas

[-- Attachment #1.2: Dies ist ein digital signierter Nachrichtenteil --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 138 bytes --]

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Documentation For Writing a Split Driver
  2007-02-15 20:33 Documentation For Writing a Split Driver Ryan Riley
  2007-02-16 14:57 ` Ian Pratt
@ 2007-02-19 16:33 ` Mark Williamson
  1 sibling, 0 replies; 4+ messages in thread
From: Mark Williamson @ 2007-02-19 16:33 UTC (permalink / raw)
  To: xen-devel; +Cc: Ryan Riley

> 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!

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2007-02-19 16:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-15 20:33 Documentation For Writing a Split Driver Ryan Riley
2007-02-16 14:57 ` Ian Pratt
2007-02-16 15:38   ` Thomas Friebel
2007-02-19 16:33 ` Mark Williamson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.