diff options
| author | Maxime Coquelin | 2017-06-02 12:18:27 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin | 2017-06-02 17:57:17 +0200 |
| commit | fc58bd0d97c41dc3257001c86b2f802ae7255dff (patch) | |
| tree | 9bd22607c9c71c64ec2020eed281539549d613f6 /include/hw | |
| parent | virtio-serial: fix segfault on disconnect (diff) | |
| download | qemu-fc58bd0d97c41dc3257001c86b2f802ae7255dff.tar.gz qemu-fc58bd0d97c41dc3257001c86b2f802ae7255dff.tar.xz 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 |
