Re: [PATCH 13/16] vhost: Clean up how VhostOpts method vhost_backend_init() fails

2021-08-02 Thread Philippe Mathieu-Daudé
On 7/20/21 2:54 PM, Markus Armbruster wrote: > vhost_user_backend_init() can fail without setting an error. Unclean. > Its caller vhost_dev_init() compensates by substituting a generic > error then. Goes back to commit 28770ff935 "vhost: Distinguish errors > in vhost_backend_init()". > > Clean u

[PATCH 13/16] vhost: Clean up how VhostOpts method vhost_backend_init() fails

2021-07-20 Thread Markus Armbruster
vhost_user_backend_init() can fail without setting an error. Unclean. Its caller vhost_dev_init() compensates by substituting a generic error then. Goes back to commit 28770ff935 "vhost: Distinguish errors in vhost_backend_init()". Clean up by moving the generic error from vhost_dev_init() to al