Skip to content

dataplane: introduce virtio-blk.iothread property

Stefan Hajnoczi qemu-devel 1 version Applied

Status from this message: Applied to my block tree:

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 5 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3virtio-blk: replace x-iothread with iothread link propertyhw/block/virtio-blk.c hw/s390x/s390-virtio-bus.c hw/s390x/virtio-ccw.c +1 more+17 -13 replies
2/3qdev: drop iothread property typehw/core/qdev-properties-system.c include/hw/qdev-properties.h+0 -530 replies
3/3virtio-blk: remove need for explicit x-data-plane=on optionhw/block/dataplane/virtio-blk.c+1 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPaolo Bonzini
SeriesR-b
1/3
2/3
3/3

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/3] dataplane: introduce virtio-blk.iothread property

Up until now the virtio-blk x-data-plane and x-iothread features have been experimental. It's time to commit to a final command-line interface:

  qemu -object iothread,id=iothread0 \
       -drive if=none,id=drive0,file=test.qcow2,format=qcow2 \
       -device virtio-blk-pci,iothread=iothread0,drive=drive0

The iothread=<iothread> property associates a virtio-blk-pci instance with an IOThread. If the iothread property is not given, the non-dataplane code path is used. This means dataplane is not the default yet.

The x-data-plane=on|off property is now obsolete but will be kept around for at least another release cycle to give users a chance to migrate.

Stefan Hajnoczi (3):
virtio-blk: replace x-iothread with iothread link property
qdev: drop iothread property type
virtio-blk: remove need for explicit x-data-plane=on option

 hw/block/dataplane/virtio-blk.c  |  2 +-
 hw/block/virtio-blk.c            | 12 +++++++++-
 hw/core/qdev-properties-system.c | 50 ----------------------------------------
 hw/s390x/s390-virtio-bus.c       |  2 ++
 hw/s390x/virtio-ccw.c            |  2 ++
 hw/virtio/virtio-pci.c           |  2 ++
 include/hw/qdev-properties.h     |  3 ---
 7 files changed, 18 insertions(+), 55 deletions(-)
Signature · 1 line
1.9.3