|
From: | Stefano Garzarella |
Subject: | Re: [PATCH 6/7] vhost-user-blk: Factor out vhost_user_blk_realize_connect() |
Date: | Thu, 10 Jun 2021 11:18:17 +0200 |
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 <kwolf@redhat.com> --- hw/block/vhost-user-blk.c | 48 ++++++++++++++++++++++++++------------- 1 file changed, 32 insertions(+), 16 deletions(-)
Reviewed-by: Stefano Garzarella <sgarzare@redhat.com>
[Prev in Thread] | Current Thread | [Next in Thread] |