Markus Armbruster
998647dc8f
vhost: Clean up how VhostOpts method vhost_backend_init() fails
...
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 all the
failure paths that neglect to set an error.
Cc: Kevin Wolf <kwolf@redhat.com>
Cc: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-Id: <20210720125408.387910-14-armbru@redhat.com>
Acked-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
2021-08-26 17:15:28 +02:00
..
2021-07-05 13:03:16 +02:00
2021-07-20 15:29:27 +02:00
2021-06-17 07:10:32 -05:00
2021-06-28 07:27:32 -07:00
2021-08-25 10:48:51 +01:00
2021-07-26 07:07:07 -10:00
2021-05-13 19:11:42 +02:00
2021-07-09 14:30:01 +01:00
2021-08-25 10:48:50 +01:00
2021-08-13 14:43:42 +02:00
2021-04-09 16:05:16 -04:00
2021-05-02 17:24:51 +02:00
2021-07-22 15:46:54 +02:00
2021-08-25 10:48:50 +01:00
2021-07-27 11:00:00 +01:00
2021-06-02 06:51:09 +02:00
2021-07-06 18:04:38 -04:00
2021-07-29 10:59:49 +10:00
2021-08-26 17:15:28 +02:00
2021-07-20 15:30:42 +02:00
2021-07-11 14:32:49 +01:00
2021-07-27 10:57:39 +01:00
2020-09-18 14:12:32 -04:00
2021-07-08 14:15:01 -05:00
2021-07-20 20:10:20 +02:00
2021-07-26 06:56:41 -10:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:50 +02:00
2021-07-20 15:18:39 +02:00
2021-07-11 14:32:49 +01:00
2021-08-02 12:19:18 +08:00
2021-05-02 17:24:51 +02:00
2021-05-02 17:24:50 +02:00
2021-08-09 12:52:16 +02:00
2021-06-02 06:51:09 +02:00
2021-05-02 17:24:51 +02:00
2021-07-16 11:10:45 -04:00
2021-08-03 16:31:07 -04:00
2021-08-03 16:32:34 -04:00
2021-05-02 17:24:50 +02:00
2021-08-26 17:15:28 +02:00
2021-07-04 22:47:51 +03:00
2021-08-26 17:15:28 +02:00
2021-07-20 15:32:49 +02:00
2021-06-02 06:51:09 +02:00
2021-05-03 10:07:41 +02:00
2021-08-26 17:15:28 +02:00
2021-08-26 17:15:28 +02:00
2021-08-03 19:34:51 +02:00
2021-07-08 14:42:00 -05:00
2021-05-02 17:24:51 +02:00
2021-05-14 10:26:18 -04:00
2021-06-25 08:53:28 -04:00
2021-06-25 08:53:28 -04:00
2021-05-05 13:52:00 +01:00
2021-06-24 05:00:12 -07:00
2021-06-02 06:51:09 +02:00
2021-07-20 20:10:21 +02:00
2021-08-05 16:15:33 +04:00
2021-08-26 17:15:28 +02:00
2021-08-26 17:15:28 +02:00
2021-06-02 06:51:09 +02:00
2021-06-02 06:51:09 +02:00
2020-08-21 06:30:33 -04:00
2021-05-02 17:24:51 +02:00
2021-06-17 07:10:32 -05:00
2021-06-17 07:10:32 -05:00