Re: [PATCH v3 1/2] vhost-user: Fix lost reconnect

2023-08-30 Thread Raphael Norwitz
> On Aug 30, 2023, at 12:57 AM, Li Feng wrote: > > When the vhost-user is reconnecting to the backend, and if the vhost-user > fails > at the get_features in vhost_dev_init(), then the reconnect will fail > and it will not be retriggered forever. > > The reason is: > When the vhost-user fail

[PATCH v3 1/2] vhost-user: Fix lost reconnect

2023-08-29 Thread Li Feng
When the vhost-user is reconnecting to the backend, and if the vhost-user fails at the get_features in vhost_dev_init(), then the reconnect will fail and it will not be retriggered forever. The reason is: When the vhost-user fails at get_features, the vhost_dev_cleanup will be called immediately.