diff options
author | Kevin Wolf <kwolf@redhat.com> | 2021-06-09 08:46:57 -0700 |
---|---|---|
committer | Kevin Wolf <kwolf@redhat.com> | 2021-06-30 13:19:08 +0200 |
commit | 415fc2940b1536061c904bf192e097c27d3a787b (patch) | |
tree | bbe27cb607bae7da9f102638104d871592ace5c1 /block | |
parent | 50de51387f3fda9d3da049d60f8b631164f11f08 (diff) |
vhost-user-blk: Factor out vhost_user_blk_realize_connect()
This function is the part that we will want to retry if the connection
is lost during initialisation, so factor it out to keep the following
patch simpler.
The error path for vhost_dev_get_config() forgot disconnecting the
chardev, add this while touching the code.
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20210609154658.350308-7-kwolf@redhat.com>
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Raphael Norwitz <raphael.norwitz@nutanix.com>
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions