]> git.proxmox.com Git - mirror_qemu.git/commit - hw/virtio/vhost.c
vhost: rework IOTLB messaging
authorMaxime Coquelin <maxime.coquelin@redhat.com>
Fri, 2 Jun 2017 10:18:28 +0000 (12:18 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 2 Jun 2017 15:57:17 +0000 (18:57 +0300)
commit020e571b8bf90e022bbb78346e189f0f26e4675f
tree4ba3ebdf103587568856399eed662cccfeea173e
parentfc58bd0d97c41dc3257001c86b2f802ae7255dff
vhost: rework IOTLB messaging

This patch reworks IOTLB messaging to prepare for vhost-user
device IOTLB support.

IOTLB messages handling is extracted from vhost-kernel backend,
so that only the messages transport remains backend specifics.

Signed-off-by: Maxime Coquelin <maxime.coquelin@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/virtio/vhost-backend.c
hw/virtio/vhost.c
include/hw/virtio/vhost-backend.h