From: Abhinav Srivastava Subject: DMA understanding Date: Tue, 29 Jun 2010 00:10:48 +0530 (IST) Message-ID: <718858.8653.qm@web7901.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Hi there, I am trying to understand how an HVM guest domain performs its DMA operatio= ns, and how this DMA operations are intercepted by the Xen. I wanted to und= erstand both the code path with and without Vt-d support (for intel process= ors). 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 in= side 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 =0A=0A