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

[Xen-devel] [Query] Flow of PCI device dedicated to a domU

I am trying to understand the flow of how a PCI device driver in domU works after a PCI device is is assigned to a domU.

a) If a PCI device is assigned to a domU, this device has to be on a PCI bus. So as per my view xen would have to somehow provide a PCI Controller on which this device is attached.
=> Is my assumption correct ? If yes how it is done, No then also How enumeration of this device happens in domU kernel

b) Is the Configuration space of the PCI device directly accessible to the domU (assuming the kernel accesses it using memory map) ? If not then it is trapped by xen

c) Who assigns the MSI (addr + value) in the PCI device. If Xen then how Xen does a translation from Physical MSI to guest MSI (where in code)

Please help me with these doubts

Xen-devel mailing list



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