Skip to content

dataplane: fix start/stop races

Michael S. Tsirkin qemu-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 12 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2virtio: add aio handlerhw/virtio/virtio.c include/hw/virtio/virtio.h+36 -41 reply
2/2virtio-blk: use aio handler for data planehw/block/dataplane/virtio-blk.c hw/block/virtio-blk.c include/hw/virtio/virtio-blk.h+33 -106 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [Qemu-devel] [PATCH 0/2] dataplane: fix start/stop races

This works around races that data plane introduces simply by exiting immediately if we detect that dataplane is active.

It's a small but ugly patch, it's only justification is that it's minimally intrusive, and that it clearly has no chance to break non data plane users.

The idea is to rework it all post 2.6.

Michael S. Tsirkin (2):
virtio: add aio handler
virtio-blk: use aio handler for data plane

 include/hw/virtio/virtio-blk.h  |  2 ++
 include/hw/virtio/virtio.h      |  4 ++++
 hw/block/dataplane/virtio-blk.c | 13 +++++++++++++
 hw/block/virtio-blk.c           | 28 ++++++++++++++++++----------
 hw/virtio/virtio.c              | 36 ++++++++++++++++++++++++++++++++----
 5 files changed, 69 insertions(+), 14 deletions(-)
Signature · 1 line
MST