Documentation For Writing a Split Driver
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
Quoted 4 lines
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
Quoted 3 lines
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.
Review
Quoted 5 lines
-Modifying xend and xm to initialize the XenStore for it. (and hence get the probe functions to be called)
(quoted diff) +0
-3-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
Quoted 7 lines
Quoted 3 lines
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
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel
Quoted 6 lines
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!!!!!
Quoted 1 line
-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.
Quoted 2 lines
-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.
Review
Quoted 3 lines
(quoted diff) +0
-3-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
Signature · 4 lines
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!