[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Device drivers and Xend
Hi everybody I am currently writting a split device driver for a custom device. I have understood the way it works, I wrote the code (kernel module) but currently it is static (i.e. port number) because I am not using Xend. But the event channel is created (with a static port number for the backend), and when I send event from frontend domU the handler is called in my backend domain. But I can't do the same for the communication ring (shared memory page). So I have to use Xend, but I don't know how to add a new device type in Xend, i.e. which files are needed, ... I looked at blkif.py and netif.py, I know I have to write such a script for my new device, but what are the classes/object that must be present, the same for the methods ? Where these functions are called in Xend ? I also looked at messages.py, I imagine I have to add new message types but are there rules to follow ? Also how do I set up a virtual custom device for the domains (XendDomainInfo.py ?) ? In fact I search for a manual describing in details Xend, like a HowTo Xend device drivers, describing the files (python scripts) and how to use them, what I didn't find in the ML. I am using xen-2.0.7. If somebody can give me advice. Thanks a lot. _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |