Jiang Wang
2009-Mar-22 22:36 UTC
[Xen-devel] Where is the code for passthrough a PCI device to a PV?
Hi: I am trying to understand the code for passthrough a PCI device to a PV on i386 CPU. What code should I read? I know that linux-xen\drivers\xen\pciback and pcifront is the backend and the frontend for the PCI bus. But I think there should be some other code to allow a domU to access the real device, right? I found some code in xen/common/domctrl.c which do the access control for the io memory. Is that all? What happened when I use a PCI option for "xm create" command to pass-through the device? Where is the code for starting a domU? Thanks. Regards, Jiang _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel