All of lore.kernel.org
 help / color / mirror / Atom feed
* [Query] Flow of PCI device dedicated to a domU
@ 2014-07-16  6:12 Xenbegn developer
  2014-07-16  9:50 ` Andrew Cooper
  2014-07-16 13:46 ` Konrad Rzeszutek Wilk
  0 siblings, 2 replies; 27+ messages in thread
From: Xenbegn developer @ 2014-07-16  6:12 UTC (permalink / raw)
  To: xen-devel


[-- Attachment #1.1: Type: text/plain, Size: 789 bytes --]

Hi,
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


Regards
Manish

[-- Attachment #1.2: Type: text/html, Size: 944 bytes --]

[-- Attachment #2: Type: text/plain, Size: 126 bytes --]

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

^ permalink raw reply	[flat|nested] 27+ messages in thread

end of thread, other threads:[~2014-07-24 10:21 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-07-16  6:12 [Query] Flow of PCI device dedicated to a domU Xenbegn developer
2014-07-16  9:50 ` Andrew Cooper
2014-07-17  6:34   ` Xenbegn developer
2014-07-17  9:42     ` Andrew Cooper
2014-07-22  9:43       ` Xenbegn developer
2014-07-22  9:53         ` Andrew Cooper
2014-07-22 10:02           ` Xenbegn developer
2014-07-22  9:50   ` Xenbegn developer
2014-07-22  9:56     ` Andrew Cooper
2014-07-22 10:13       ` Xenbegn developer
2014-07-22 10:33         ` Andrew Cooper
2014-07-22 10:51           ` Xenbegn developer
2014-07-22 11:33             ` Xenbegn developer
2014-07-22 12:44               ` Ian Campbell
2014-07-22 14:11               ` Stefano Stabellini
2014-07-22 15:56                 ` Simon Martin
2014-07-22 16:01                   ` Simon Martin
2014-07-22 16:02                   ` Ian Campbell
2014-07-22 16:06                     ` Simon Martin
2014-07-22 16:06                   ` Stefano Stabellini
2014-07-22 16:09                     ` Simon Martin
2014-07-24  5:17                 ` Xenbegn developer
2014-07-24 10:04                   ` Stefano Stabellini
2014-07-24  8:08     ` Xenbegn developer
2014-07-24  9:20       ` Ian Campbell
2014-07-24 10:21       ` Stefano Stabellini
2014-07-16 13:46 ` Konrad Rzeszutek Wilk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.