Skip to content

vhost-user: sync backend

Marcel Apfelbaum qemu-devel 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest3 patches 1 replyIn review
  2. v22 patches 4 repliesSuperseded
  3. v11 patch 6 repliesSuperseded

Changes in v3 from the cover letter

- Addressed Michael S. Tsirkin's comments:
- Fixed a typo in patch 2/3 message
- MQ - I left it there for completeness,
it will be moved once the "protocol" bits will be 'active'
- unit-test - The bits were added to GET_FEATURES, not GET_PROTOCOL_FEATURES, no need to make any changes
- Added a new patch (1/3) that removes the unnecessary virtio bits related to vhost-user backend.

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3hw/vhost-user: remove unnecessary virtio control bitshw/net/vhost_net.c+0 -221 reply
2/3hw/vhost-user: sync backend featureshw/virtio/vhost-user.c+17 -00 replies
3/3tests/vhost-user: check vhost-user feature negotiationtests/vhost-user-test.c+16 -30 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [Qemu-devel] [PATCH V3 0/3] vhost-user: sync backend

To be used on top of:
[PATCH 0/4] vhost-user: protocol updates
https://lists.gnu.org/archive/html/qemu-devel/2015-07/msg03842.html

v2 -> v3:
- Addressed Michael S. Tsirkin's comments:
- Fixed a typo in patch 2/3 message
- MQ - I left it there for completeness,
it will be moved once the "protocol" bits will be 'active'
- unit-test - The bits were added to GET_FEATURES, not GET_PROTOCOL_FEATURES, no need to make any changes
- Added a new patch (1/3) that removes the unnecessary virtio bits related to vhost-user backend.

v1 -> v2:
- Addressed Michael S. Tsirkin's comments:
- Prefer a white-list of supported features
- Add a unit-test to show the problem we are trying to solve (run the unit-test before the patch and it will fail)

Currently the vhost-user supported features are not evaluated.
The way I see it, and please correct me, the best way to do this is to:
1. Get the backend features on vhost init.
2. Check them one by one (white-list) against all the currently supported virtio features.
3. All other code should remain the same.

Marcel Apfelbaum (3):
hw/vhost-user: remove unnecessary virtio control bits hw/vhost-user: sync backend features tests/vhost-user: check vhost-user feature negotiation

 hw/net/vhost_net.c      | 22 ----------------------
 hw/virtio/vhost-user.c  | 17 +++++++++++++++++
 tests/vhost-user-test.c | 19 ++++++++++++++++---
 3 files changed, 33 insertions(+), 25 deletions(-)
Signature · 1 line
2.1.0