Re: [Qemu-devel] [RFC PATCH 1/8] virtio: convert to use DMA api

2016-04-19 Thread Michael S. Tsirkin
On Fri, Mar 25, 2016 at 10:13:22AM +0800, Jason Wang wrote: > Currently, all virtio devices bypass IOMMU completely. This is because > address_space_memory is assumed and used during DMA emulation. This > patch converts the virtio core API to use DMA API. This idea is > > - introducing a new trans

[Qemu-devel] [RFC PATCH 1/8] virtio: convert to use DMA api

2016-03-24 Thread Jason Wang
Currently, all virtio devices bypass IOMMU completely. This is because address_space_memory is assumed and used during DMA emulation. This patch converts the virtio core API to use DMA API. This idea is - introducing a new transport specific helper to query the dma address space. (only pci versi