Re: [PATCH V2 1/2] vhost-vdpa: skip ram device from the IOTLB mapping

2021-06-10 Thread Si-Wei Liu
On 6/2/2021 1:41 AM, Jason Wang wrote: vDPA is not tie to any specific hardware, for safety and simplicity, vhost-vDPA doesn't allow MMIO area to be mapped via IOTLB. Only the doorbell could be mapped via mmap(). So this patch exclude skip the ram device from the IOTLB mapping. Signed-off-by:

[PATCH V2 1/2] vhost-vdpa: skip ram device from the IOTLB mapping

2021-06-02 Thread Jason Wang
vDPA is not tie to any specific hardware, for safety and simplicity, vhost-vDPA doesn't allow MMIO area to be mapped via IOTLB. Only the doorbell could be mapped via mmap(). So this patch exclude skip the ram device from the IOTLB mapping. Signed-off-by: Jason Wang --- hw/virtio/vhost-vdpa.c | 1