diff options
author | Maxime Coquelin <maxime.coquelin@redhat.com> | 2017-06-02 12:18:27 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2017-06-02 18:57:17 +0300 |
commit | fc58bd0d97c41dc3257001c86b2f802ae7255dff (patch) | |
tree | 9bd22607c9c71c64ec2020eed281539549d613f6 /include/hw | |
parent | 46764fe09ca2e0f15c0981a672c166ed8cf57e72 (diff) | |
download | qemu-fc58bd0d97c41dc3257001c86b2f802ae7255dff.zip |
vhost: propagate errors in vhost_device_iotlb_miss()
Some backends might want to know when things went wrong.
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>
Diffstat (limited to 'include/hw')
-rw-r--r-- | include/hw/virtio/vhost.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/hw/virtio/vhost.h b/include/hw/virtio/vhost.h index a45032163d..467dc7794b 100644 --- a/include/hw/virtio/vhost.h +++ b/include/hw/virtio/vhost.h @@ -105,5 +105,5 @@ bool vhost_has_free_slot(void); int vhost_net_set_backend(struct vhost_dev *hdev, struct vhost_vring_file *file); -void vhost_device_iotlb_miss(struct vhost_dev *dev, uint64_t iova, int write); +int vhost_device_iotlb_miss(struct vhost_dev *dev, uint64_t iova, int write); #endif |