[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] information needed for netbsd porting project



> I would like to be able to do device driver development on a domU for
> devices that the domO doesn't know about.
> Using the sources for 3.1.2, could someone tell me where to look
> to find the protocol between dom0 and domU used by Xen to do this?
>
> After that, I will need to implement the PCI front-end and back-end
> drivers. Could someone show me some sample code?

Take a look in the XenLinux tree, drivers/xen/pci{front,back} and in the Xen 
hypervisor tree, xen/include/public/io/pciif.h

You may also want to look in the tools/ directory in the hypervisor tree to 
see how devices get assigned to a guest in the firstplace.

Most PCI IO can be done directly by a guest once the PCI passthrough is done.  
Config space changes still need to go through dom0, though.

Cheers,
Mark

-- 
Push Me Pull You - Distributed SCM tool (http://www.cl.cam.ac.uk/~maw48/pmpu/)

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.