Refactor vhost device reset
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 of 3 patches 9 repliesIn review
2 of 3 patches are in this archive. The cover letter announces 3.
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | vhost: Refactor vhost_reset_device() in VhostOpshw/ hw/ hw/ +1 more | +27 | 8 replies | |
| 2/3 | vhost: add vhost_dev_reset()hw/ include/ | +15 | 1 reply |
Reviews trailers per patch
None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Michael Qiu | Jason Wang |
|---|---|---|
| Series | A-b | |
| 1/3 | Signde-off-by | |
| 2/3 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3] Refactor vhost device reset
Now adays, vhost framework does a misnamed for vhost_reset_device(), actually we need seperate vhost_reset_device() and vhost_reset_owner(), this patchset refactor it, and make different backend call the right function.
Base on those work, fix an issue of vdpa device reset for several times.
Test with kernel vhost, vhost-vdpa, DPDK vhost-user(vdpa), with shutdown ,reboot, and load/unload virtio_net driver in guest.
Michael Qiu (3):
vhost: Refactor vhost_reset_device() in VhostOps
vhost: add vhost_dev_reset()
vdpa: reset the backend device in the end of vhost_net_stop()
hw/net/vhost_net.c | 22 +++++++++++++++++++--- hw/scsi/vhost-user-scsi.c | 6 +++++- hw/virtio/vhost-backend.c | 4 ++-- hw/virtio/vhost-user.c | 22 ++++++++++++++++++---- hw/virtio/vhost-vdpa.c | 15 +++++++++------ hw/virtio/vhost.c | 14 ++++++++++++++ include/hw/virtio/vhost-backend.h | 2 ++ include/hw/virtio/vhost.h | 1 + 8 files changed, 70 insertions(+), 16 deletions(-)
Signature · 1 line
1.8.3.1