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

2023-08-29 Thread Li Feng
> On 30 Aug 2023, at 6:11 AM, Raphael Norwitz > wrote: > > > >> On Aug 24, 2023, at 3:41 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

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

2023-08-29 Thread Raphael Norwitz
> On Aug 24, 2023, at 3:41 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 fails

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

2023-08-24 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.