Skip to content

virtio-blk: iothread-vq-mapping cleanups

Stefan Hajnoczi qemu-devel 2 versions – Applied

Status from this message: Thanks, applied to the block branch.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest5 patches 4 repliesApplied
  2. v15 patches 12 repliesSuperseded

Changes in v2 from the cover letter

- Add comment in Patch 3 explaining why bounds check assertion [Manos]
- Remove redundant nested if in Patch 1 [Hanna]

Patches in v2 Applied

#Subject and filesSizeRepliesApplied
1/5virtio-blk: enforce iothread-vq-mapping validationhw/block/virtio-blk.c+106 -850 replies
2/5virtio-blk: clarify that there is at least 1 virtqueuehw/block/virtio-blk.c+1 -00 replies
3/5virtio-blk: add vq_rq[] bounds check in virtio_blk_dma_restart_cb()hw/block/virtio-blk.c+2 -00 replies
4/5virtio-blk: declare VirtIOBlock::rq with a typeinclude/hw/virtio/virtio-blk.h+1 -10 replies
5/5monitor: use aio_co_reschedule_self()qapi/qmp-dispatch.c+2 -52 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchManos PitsidianakisHanna CzenczekMichael S. Tsirkin
SeriesR-b
1/5R-b R-b
2/5R-b R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v2 thread

Cover letter [PATCH v2 0/5] virtio-blk: iothread-vq-mapping cleanups

v2:
- Add comment in Patch 3 explaining why bounds check assertion [Manos]
- Remove redundant nested if in Patch 1 [Hanna]

Hanna reviewed the iothread-vq-mapping patches after they were applied to qemu.git. This series consists of code cleanups that Hanna identified.

There are no functional changes or bug fixes that need to be backported to the stable tree here, but it may make sense to backport them in the future to avoid conflicts.

Stefan Hajnoczi (5):
virtio-blk: enforce iothread-vq-mapping validation
virtio-blk: clarify that there is at least 1 virtqueue
virtio-blk: add vq_rq[] bounds check in virtio_blk_dma_restart_cb()
virtio-blk: declare VirtIOBlock::rq with a type
monitor: use aio_co_reschedule_self()

 include/hw/virtio/virtio-blk.h |   2 +-
 hw/block/virtio-blk.c          | 194 ++++++++++++++++++---------------
 qapi/qmp-dispatch.c            |   7 +-
 3 files changed, 112 insertions(+), 91 deletions(-)
Signature · 1 line
2.43.0