vhost: add memory access wrappers
authorMichael S. Tsirkin <mst@redhat.com>
Fri, 24 Oct 2014 08:48:17 +0000 (11:48 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:05:29 +0000 (12:05 +0200)
Add guest memory access wrappers to handle virtio endianness
conversions.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Jason Wang <jasowang@redhat.com>
Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com>
drivers/vhost/vhost.h

Simple merge