vhost-vdpa: skip ram device from the IOTLB mapping
authorJason Wang <jasowang@redhat.com>
Wed, 2 Jun 2021 08:41:05 +0000 (16:41 +0800)
committerJason Wang <jasowang@redhat.com>
Fri, 11 Jun 2021 02:30:13 +0000 (10:30 +0800)
commitd60c75d28fe9d49bef28f7fa863481e1d9f6ff96
tree2efc3efd70a182a0b428de708d08a49c3302139d
parent7fe7fae8b48e3f9c647fd685e5155ebc8e6fb84d
vhost-vdpa: skip ram device from the IOTLB mapping

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.

Reviewed-by: Si-Wei Liu <si-wei.liu@oracle.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
hw/virtio/vhost-vdpa.c