vhost-user-test: Add negotiated features check
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest2 patches 2 repliesIn review
- v1 RFC2 patches 12 repliesSuperseded
Changes in v2 from the cover letter
- rebase on master.
- drop the "show-bits" option.
- refine the comment.
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | qapi/virtio: Add feature and status bits for x-query-virtio-statushw/ qapi/ | +45 | 2 replies | |
| 2/2 | vhost-user-test: Add negotiated features checktests/ | +100 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [v2 0/2] vhost-user-test: Add negotiated features check
Markus made suggestions for the changes to version 2, and thanks for that as well.
v2:
- rebase on master.
- drop the "show-bits" option.
- refine the comment.
v1:
The patchset "Fix the virtio features negotiation flaw" fix a vhost-user negotiation flaw:c9bdc449f9 vhost-user: Fix the virtio features negotiation flaw bebcac052a vhost-user: Refactor the chr_closed_bh 937b7d96e4 vhost-user: Refactor vhost acked features saving
While the test case remain unmerged, the detail reference:
https://lore.kernel.org/qemu-devel/[email protected]/
Since Michael pointed out that the info virtio makes sense to query the negotiation feature, this patchset uses the x-query-virtio-status to retrieve the features instead of exporting netdev capabilities and information as we did in the previous patchset to aid in confirming the negotiation's validity.
To do that, we first introduce an "show-bits" argument for x-query-virtio-status such that the feature bits can be used directly, and then implement the test case for negotiated features check. As we post, the code is divided into two patches.
Please review, thanks,
Yong
Hyman Huang (2):
qapi/virtio: Add feature and status bits for x-query-virtio-status
vhost-user-test: Add negotiated features check
hw/virtio/virtio-qmp.c | 8 +++ qapi/virtio.json | 37 +++++++++++++ tests/qtest/vhost-user-test.c | 100 ++++++++++++++++++++++++++++++++++ 3 files changed, 145 insertions(+)
Signature · 1 line
2.39.1