vhost: introduce vhost memory accessors
authorJason Wang <jasowang@redhat.com>
Thu, 23 Jun 2016 06:04:30 +0000 (02:04 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Aug 2016 23:57:30 +0000 (02:57 +0300)
commitbfe2bc512884d0b1c5297a15350f940ca80e439b
tree7074f1f1e398f71944b9fc0d954fe63a09e810af
parent304ba62fd4e670c1a5784585da0fac9f7309ef6c
vhost: introduce vhost memory accessors

This patch introduces vhost memory accessors which were just wrappers
for userspace address access helpers. This is a requirement for vhost
device iotlb implementation which will add iotlb translations in those
accessors.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/vhost/vhost.c