vhost-user-blk: Implement reconnection during realize
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest7 patches 15 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/7 | vhost: Add Error parameter to vhost_dev_init()backends/ backends/ hw/ +8 more | +29 | 2 replies | |
| 2/7 | vhost: Distinguish errors in vhost_backend_init()hw/ hw/ hw/ +2 more | +32 | 2 replies | |
| 3/7 | vhost: Return 0/-errno in vhost_dev_init()hw/ hw/ hw/ +1 more | +17 | 2 replies | |
| 4/7 | vhost-user-blk: Add Error parameter to vhost_user_blk_start()hw/ | +15 | 2 replies | |
| 5/7 | vhost: Distinguish errors in vhost_dev_get_config()hw/ hw/ hw/ +7 more | +46 | 2 replies | |
| 6/7 | vhost-user-blk: Factor out vhost_user_blk_realize_connect()hw/ | +32 | 2 replies | |
| 7/7 | vhost-user-blk: Implement reconnection during realizehw/ | +13 | 2 replies |
Reviews trailers per patch
All 7 patches have a Reviewed-by or Acked-by.
| Patch | Stefano Garzarella | Raphael Norwitz |
|---|---|---|
| 1/7 | R-b | R-b |
| 2/7 | R-b | R-b |
| 3/7 | R-b | R-b |
| 4/7 | R-b | R-b |
| 5/7 | R-b | R-b |
| 6/7 | R-b | R-b |
| 7/7 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/7] vhost-user-blk: Implement reconnection during realize
My previous series removed the broken implementation of automatic reconnection during .realize(). This series adds some error reporting improvements that allow distinguishing cases where reconnecting could help from permanent errors, and then uses it to re-implement the automatic reconnection during .realize(), as was requested during review of the previous series.
Kevin Wolf (7):
vhost: Add Error parameter to vhost_dev_init()
vhost: Distinguish errors in vhost_backend_init()
vhost: Return 0/-errno in vhost_dev_init()
vhost-user-blk: Add Error parameter to vhost_user_blk_start()
vhost: Distinguish errors in vhost_dev_get_config()
vhost-user-blk: Factor out vhost_user_blk_realize_connect()
vhost-user-blk: Implement reconnection during realize
include/hw/virtio/vhost-backend.h | 5 +- include/hw/virtio/vhost.h | 6 +- backends/cryptodev-vhost.c | 5 +- backends/vhost-user.c | 4 +- hw/block/vhost-user-blk.c | 100 +++++++++++++++++++----------- hw/display/vhost-user-gpu.c | 6 +- hw/input/vhost-user-input.c | 6 +- hw/net/vhost_net.c | 8 ++- hw/scsi/vhost-scsi.c | 4 +- hw/scsi/vhost-user-scsi.c | 4 +- hw/virtio/vhost-backend.c | 6 +- hw/virtio/vhost-user-fs.c | 3 +- hw/virtio/vhost-user-vsock.c | 12 ++-- hw/virtio/vhost-user.c | 71 +++++++++++---------- hw/virtio/vhost-vdpa.c | 8 ++- hw/virtio/vhost-vsock.c | 3 +- hw/virtio/vhost.c | 41 +++++++----- 17 files changed, 174 insertions(+), 118 deletions(-)
Signature · 1 line
2.30.2