WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] Trapping I/O accesses of a driver domain

At 10:26 -0500 on 11 Nov (1321007179), Konrad Rzeszutek Wilk wrote:
> On Thu, Nov 10, 2011 at 10:25:56PM -0500, Olatunji Ruwase wrote:
> > >> Xen-3.3 with a dom0 and driver domU both running linux-2.6.18-xen. For
> > >> various reasons HVM Xen is not suitable for my work.
> > >
> > > Um, why not use something more recent. Like Ubuntu or Fedora Core 16?
> > >
> >  My work is based on simulated hardware logging and a significantly
> >  modified FC5, porting the kernel modifications to FC6 is significantly
> >  than to more recent kernels like FC16.
> 
> You could do this on real hardware. Say get an machine with IOMMU
> (like a TA890FXE) and use the AMD VI to trap you on all the IOMMU
> (so DMA) operations. ..
> 
> Thought it might be worth reading first the AMD VI spec whether you can
> trap on all DMA operations.

Unfortunately, AFAIK you can't currently restart operations that the
IOMMU has disallowed, so actually capturing the DMA and having the
peripheral keep working would be tricky.

Tim.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel