Jason Wang
2020-Nov-02 05:57 UTC
[PATCH 04/17] vhost: prep vhost_dev_init users to handle failures
On 2020/10/22 ??8:34, Mike Christie wrote:> This is just a prep patch to get vhost_dev_init callers ready to handle > the next patch where the function can fail. In this patch vhost_dev_init > just returns 0, but I think it's easier to check for goto/error handling > errors separated from the next patch. > > Signed-off-by: Mike Christie<michael.christie at oracle.com> > --- > drivers/vhost/net.c | 11 +++++++---- > drivers/vhost/scsi.c | 7 +++++-- > drivers/vhost/test.c | 9 +++++++-- > drivers/vhost/vdpa.c | 7 +++++-- > drivers/vhost/vhost.c | 14 ++++++++------ > drivers/vhost/vhost.h | 10 +++++----- > drivers/vhost/vsock.c | 9 ++++++--- > 7 files changed, 43 insertions(+), 24 deletions(-)Acked-by: Jason Wang <jasowang at redhat.com>
Possibly Parallel Threads
- [PATCH 04/17] vhost: prep vhost_dev_init users to handle failures
- [PATCH 1/6] vhost: allow device that does not depend on vhost worker
- [PATCH 2/8] vhost: add helper to check if a vq has been setup
- [PATCH 1/8] vhost vdpa: fix vhost_vdpa_open error handling
- [PATCH 07/17] vhost scsi: support delayed IO vq creation