# Re: \[PATCH v11 05/12\] vhost-vdpa: Handle the failure of vdpa\_reset()

- From: Stefano Garzarella \<sgarzare@redhat.com\>
- Date: 2021-08-24 11:12:18 
- List: netdev
- Page: https://ratatoskr.run/netdev/2021/08/213067
- Thread: https://ratatoskr.run/netdev/2021/08/212686/t.md

```text
On Wed, Aug 18, 2021 at 08:06:35PM +0800, Xie Yongji wrote:
>The vdpa_reset() may fail now. This adds check to its return
>value and fail the vhost_vdpa_open().
>
>Signed-off-by: Xie Yongji <redacted>
>---
> drivers/vhost/vdpa.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)

Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>

```
