Re: Handling active DMA during a VFIO application crash

2018-02-15 Thread Linu Cherian
Hi Alex, On Thu Feb 15, 2018 at 09:21:09AM -0700, Alex Williamson wrote: > On Thu, 15 Feb 2018 16:34:06 +0530 > Linu Cherian wrote: > > > Hi, > > > > Was exploring the implications of an application crash while DMA > > is active from a vfio PCI device; the DMA being configured and > > started

Re: Handling active DMA during a VFIO application crash

2018-02-15 Thread Alex Williamson
On Thu, 15 Feb 2018 16:34:06 +0530 Linu Cherian wrote: > Hi, > > Was exploring the implications of an application crash while DMA > is active from a vfio PCI device; the DMA being configured and > started by the application using vfio APIs. > > The expectation is that, DMA is s

Handling active DMA during a VFIO application crash

2018-02-15 Thread Linu Cherian
Hi, Was exploring the implications of an application crash while DMA is active from a vfio PCI device; the DMA being configured and started by the application using vfio APIs. The expectation is that, DMA is stopped/reset before we tear down the IOMMU mappings and finally free