Re: [RFC PATCH V3 0/3] basic device IOTLB support

2016-06-22 Thread Jason Wang
On 2016年06月22日 00:44, Michael S. Tsirkin wrote: On Tue, May 24, 2016 at 05:36:22PM +0800, Jason Wang wrote: This patch tries to implement an device IOTLB for vhost. This could be used with for co-operation with userspace IOMMU implementation (qemu) for a secure DMA environment (DMAR) in guest.

Re: [RFC PATCH V3 0/3] basic device IOTLB support

2016-06-21 Thread Michael S. Tsirkin
On Tue, May 24, 2016 at 05:36:22PM +0800, Jason Wang wrote: > This patch tries to implement an device IOTLB for vhost. This could be > used with for co-operation with userspace IOMMU implementation (qemu) > for a secure DMA environment (DMAR) in guest. > > The idea is simple. When vhost meets an I

Re: [RFC PATCH V3 0/3] basic device IOTLB support

2016-06-14 Thread Jason Wang
On 2016年05月24日 17:36, Jason Wang wrote: This patch tries to implement an device IOTLB for vhost. This could be used with for co-operation with userspace IOMMU implementation (qemu) for a secure DMA environment (DMAR) in guest. The idea is simple. When vhost meets an IOTLB miss, it will request

[RFC PATCH V3 0/3] basic device IOTLB support

2016-05-24 Thread Jason Wang
This patch tries to implement an device IOTLB for vhost. This could be used with for co-operation with userspace IOMMU implementation (qemu) for a secure DMA environment (DMAR) in guest. The idea is simple. When vhost meets an IOTLB miss, it will request the assistance of userspace to do the trans