On Wed, Jun 09, 2021 at 05:46:57PM +0200, Kevin Wolf wrote:
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 <kw...@redhat.com>
---
hw/block/vhost-user-blk.c | 48 ++++++++++++++++++++++++++-------------
1 file changed, 32 insertions(+), 16 deletions(-)

Reviewed-by: Stefano Garzarella <sgarz...@redhat.com>


Reply via email to