Skip to content

virtio: make seg_max virtqueue size dependent

Denis Plotnikov qemu-devel 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v5 Latest posting 2/22 patches 5 repliesIn review
  2. v5 posting 1/22 patches 1 replySuperseded
  3. v42 patches 4 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v32 patches2 repliesSuperseded
v21 patch3 repliesSuperseded
v14 patches18 repliesSuperseded

Changes in v5 from the cover letter

* rebased on the recent master [MST]
* NOTE: the test doesn't pass because 5.0 machine type use 4.2 compat instead of it's own or no compat at all. The test will pass once the new 5.0 compat is used.

Patches in v5 posting 2/2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio: make seg_max virtqueue size dependenthw/block/virtio-blk.c hw/core/machine.c hw/scsi/vhost-scsi.c +3 more+24 -20 replies
2/2tests: add virtio-scsi and virtio-blk seg_max_adjust testtests/acceptance/virtio_seg_max_adjust.py+134 -04 replies

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchStefan Hajnoczi
1/2R-b
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v5 thread

Cover letter [PATCH v5 0/2] virtio: make seg_max virtqueue size dependent

v5:
* rebased on the recent master [MST]
* NOTE: the test doesn't pass because 5.0 machine type use 4.2 compat instead of it's own or no compat at all. The test will pass once the new 5.0 compat is used.

v4:
* rebased on 4.2 [MST]

v3:
* add property to set in machine type [MST]
* add min queue size check [Stefan]
* add avocado based test [Max, Stefan, Eduardo, Cleber]

v2:
* the standalone patch to make seg_max virtqueue size dependent
* other patches are postponed

v1:
the initial series

Denis Plotnikov (2):
virtio: make seg_max virtqueue size dependent
tests: add virtio-scsi and virtio-blk seg_max_adjust test

 hw/block/virtio-blk.c                     |   9 +-
 hw/core/machine.c                         |   3 +
 hw/scsi/vhost-scsi.c                      |   2 +
 hw/scsi/virtio-scsi.c                     |  10 +-
 include/hw/virtio/virtio-blk.h            |   1 +
 include/hw/virtio/virtio-scsi.h           |   1 +
 tests/acceptance/virtio_seg_max_adjust.py | 134 ++++++++++++++++++++++
 7 files changed, 158 insertions(+), 2 deletions(-)
 create mode 100755 tests/acceptance/virtio_seg_max_adjust.py
Signature · 1 line
2.17.0