summary refs log tree commit diff stats
path: root/include/qemu/main-loop.h
diff options
context:
space:
mode:
authorKevin Wolf <kwolf@redhat.com>2021-06-09 08:46:57 -0700
committerKevin Wolf <kwolf@redhat.com>2021-06-30 13:19:08 +0200
commit415fc2940b1536061c904bf192e097c27d3a787b (patch)
treebbe27cb607bae7da9f102638104d871592ace5c1 /include/qemu/main-loop.h
parent50de51387f3fda9d3da049d60f8b631164f11f08 (diff)
downloadfocaccia-qemu-415fc2940b1536061c904bf192e097c27d3a787b.tar.gz
focaccia-qemu-415fc2940b1536061c904bf192e097c27d3a787b.zip
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 'include/qemu/main-loop.h')
0 files changed, 0 insertions, 0 deletions