[PATCH v3 0/2] Fix vhost reconnect issues

Li Feng posted 2 patches 8 months ago
Failed in applying to current master (apply log)
hw/block/vhost-user-blk.c             |  2 +-
hw/scsi/vhost-scsi-common.c           | 16 +++++++++-------
hw/scsi/vhost-scsi.c                  |  5 +++--
hw/scsi/vhost-user-scsi.c             | 17 ++++++++++-------
hw/virtio/vhost-user-gpio.c           |  2 +-
hw/virtio/vhost-user.c                |  9 +++++++--
include/hw/virtio/vhost-scsi-common.h |  2 +-
include/hw/virtio/vhost-user.h        |  3 ++-
8 files changed, 34 insertions(+), 22 deletions(-)
[PATCH v3 0/2] Fix vhost reconnect issues
Posted by Li Feng 8 months ago
The patchset fixes the regression issue of vhost reconnect.
It's a serious bug that the vhost-user will lose the reconnect forever.

The 2nd patch enhances the error handle of vhost-user-scsi.

This patchset's parent commit is:
https://lore.kernel.org/all/20230731121018.2856310-1-fengli@smartx.com/

Changes for v3:
- Fix the code style.

Changes for v2:
- Add a event_cb in VhostAsyncCallback to be called when dev is NULL;
- Fix the error report message.

Li Feng (2):
  vhost-user: Fix lost reconnect
  vhost: Add Error parameter to vhost_scsi_common_start()

 hw/block/vhost-user-blk.c             |  2 +-
 hw/scsi/vhost-scsi-common.c           | 16 +++++++++-------
 hw/scsi/vhost-scsi.c                  |  5 +++--
 hw/scsi/vhost-user-scsi.c             | 17 ++++++++++-------
 hw/virtio/vhost-user-gpio.c           |  2 +-
 hw/virtio/vhost-user.c                |  9 +++++++--
 include/hw/virtio/vhost-scsi-common.h |  2 +-
 include/hw/virtio/vhost-user.h        |  3 ++-
 8 files changed, 34 insertions(+), 22 deletions(-)

-- 
2.41.0