commit | 7f05630dc65d62df5d55ad3e1038ffbe5e2ce9c3 | [log] [tgz] |
---|---|---|
author | Xie Yongji <xieyongji@bytedance.com> | Tue Aug 31 18:36:27 2021 +0800 |
committer | Michael S. Tsirkin <mst@redhat.com> | Mon Sep 06 07:20:57 2021 -0400 |
tree | 5c55645b6fe1633bc708615340ae527cedb64f31 | |
parent | 0686082dbf7a204ca0fab326a820779e31666639 [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>