]> Git Repo - qemu.git/commit
vhost-user-blk: Add support to reconnect backend
authorXie Yongji <[email protected]>
Wed, 20 Mar 2019 11:26:45 +0000 (19:26 +0800)
committerMichael S. Tsirkin <[email protected]>
Mon, 20 May 2019 22:40:02 +0000 (18:40 -0400)
commit77542d431491788d1e8e79d93ce10172ef207775
tree9a565ca76b594c4bff7449e2e0b7d940f6605115
parenta57f009108076d3c30f87be5d580c6344ad44971
vhost-user-blk: Add support to reconnect backend

Since we now support the message VHOST_USER_GET_INFLIGHT_FD
and VHOST_USER_SET_INFLIGHT_FD. The backend is able to restart
safely because it can track inflight I/O in shared memory.
This patch allows qemu to reconnect the backend after
connection closed.

Signed-off-by: Xie Yongji <[email protected]>
Signed-off-by: Ni Xun <[email protected]>
Signed-off-by: Zhang Yu <[email protected]>
Message-Id: <20190320112646[email protected]>
Reviewed-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: Michael S. Tsirkin <[email protected]>
hw/block/vhost-user-blk.c
include/hw/virtio/vhost-user-blk.h
This page took 0.025759 seconds and 4 git commands to generate.