summaryrefslogtreecommitdiff
path: root/drivers/vhost/iotlb.c
diff options
context:
space:
mode:
authorXie Yongji <xieyongji@bytedance.com>2021-08-31 18:36:27 +0800
committerMichael S. Tsirkin <mst@redhat.com>2021-09-06 07:20:57 -0400
commit7f05630dc65d62df5d55ad3e1038ffbe5e2ce9c3 (patch)
tree5c55645b6fe1633bc708615340ae527cedb64f31 /drivers/vhost/iotlb.c
parent0686082dbf7a204ca0fab326a820779e31666639 (diff)
vhost-vdpa: Handle the failure of vdpa_reset()
The vdpa_reset() may fail now. This adds check to its return value and fail the vhost_vdpa_open(). Signed-off-by: Xie Yongji <xieyongji@bytedance.com> Acked-by: Jason Wang <jasowang@redhat.com> Reviewed-by: Stefano Garzarella <sgarzare@redhat.com> Link: https://lore.kernel.org/r/20210831103634.33-7-xieyongji@bytedance.com Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'drivers/vhost/iotlb.c')
0 files changed, 0 insertions, 0 deletions