All of lore.kernel.org
 help / color / mirror / Atom feed
* DMA understanding
@ 2010-06-28 18:40 Abhinav Srivastava
  2010-06-30 16:02 ` Konrad Rzeszutek Wilk
  0 siblings, 1 reply; 6+ messages in thread
From: Abhinav Srivastava @ 2010-06-28 18:40 UTC (permalink / raw)
  To: xen-devel


Hi there,

I am trying to understand how an HVM guest domain performs its DMA operations, and how this DMA operations are intercepted by the Xen. I wanted to understand both the code path with and without Vt-d support (for intel processors). On looking inside the Xen code, I found that iommu code is inside the vmx/vtd/ directory only. By seeing the code, my understanding is that when Vt-d is enabled, iommu.c and dmar.c inside the vtd directory is the place to look for DMA operations. However, I do not understand which code path inside the hypervisor is getting used in case of Vt-d is disabled?  How does Xen intercept guest DMA operations in this case? I am using Xen 3.3 version for my project (I admit that it is very old version).

Any help would be appreciated.

Thanks,
Abhinav





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

end of thread, other threads:[~2010-07-02  5:07 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-28 18:40 DMA understanding Abhinav Srivastava
2010-06-30 16:02 ` Konrad Rzeszutek Wilk
2010-07-01  6:08   ` Abhinav Srivastava
2010-07-01 14:51     ` QEMU and hypervisor DMA understanding. Want to track DMA operations on QEMU devices Konrad Rzeszutek Wilk
2010-07-01 15:17       ` Tim Deegan
2010-07-02  5:07         ` Abhinav Srivastava

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.