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

Re: [Xen-devel] Pass through in Xen



Hi,

>> > I have successfully tested a PCI device in my PC. 
>> > As per my current understanding, the control flow for PCI passthrough is 
>> > “xen-pcifront -> xen-pciback -> driver”. Is this correct? 

>> That's for PV guests, and only for accesses to the PCI config space. 
>> Device MMIO regions are mapped directly into DomU.

I am using PV guests.

Where does the PCI MMIO gets mapped to DomU? Is it done by the front and back drivers?
Or Is the mapping only happening at the hardware level where IOMMU handles it without Dom0's or DomU's knowledge?
If possible, could you please point me to the right source file or block of code in Xen source which handles this mapping of PCI memory regions?

Also, Does the normal PCI driver in the Linux kernel plays any role in PCI passthrough? Or Is it the front and back drivers, that does all of it?

Does the front and back drivers access the PCI driver in the Linux kernel at any point?

Regards,
Ajmal

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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