vl: introduce vm_shutdown()
Status from this message: Thanks, applied to my block tree:
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v3 Latest4 patches 5 repliesApplied
- v24 patches 4 repliesSuperseded
- v11 patch 4 repliesSuperseded
Changes in v3 from the cover letter
* Rebase on qemu.git/master after AIO_WAIT_WHILE() was merged [Fam]
Patches in v3 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | block: add aio_wait_bh_oneshot()include/ util/ | +44 | 0 replies | |
| 2/4 | virtio-blk: fix race between .ioeventfd_stop() and vq handlerhw/ | +17 | 0 replies | |
| 3/4 | virtio-scsi: fix race between .ioeventfd_stop() and vq handlerhw/ | +5 | 0 replies | |
| 4/4 | vl: introduce vm_shutdown()cpus.c include/ include/ +2 more | +17 | 0 replies |
Reviews trailers per patch
None of the 4 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Paolo Bonzini | Fam Zheng | Michael S. Tsirkin |
|---|---|---|---|
| Series | A-b A-b | R-b | A-b |
| 1/4 | |||
| 2/4 | |||
| 3/4 | |||
| 4/4 |
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.
Cover letter [Qemu-devel] [PATCH v3 0/4] vl: introduce vm_shutdown()
v3:
* Rebase on qemu.git/master after AIO_WAIT_WHILE() was merged [Fam]
v2:
* Tackle the .ioeventfd_stop() vs vq handler race by removing the ioeventfd from a BH in the IOThread [Fam]
There are several race conditions in virtio-blk/virtio-scsi dataplane code. This patch series addresses them, see the commit description for details on the individual cases.
Stefan Hajnoczi (4):
block: add aio_wait_bh_oneshot()
virtio-blk: fix race between .ioeventfd_stop() and vq handler
virtio-scsi: fix race between .ioeventfd_stop() and vq handler
vl: introduce vm_shutdown()
include/block/aio-wait.h | 13 +++++++++++++ include/sysemu/iothread.h | 1 - include/sysemu/sysemu.h | 1 + cpus.c | 16 +++++++++++++--- hw/block/dataplane/virtio-blk.c | 24 +++++++++++++++++------- hw/scsi/virtio-scsi-dataplane.c | 9 +++++---- iothread.c | 31 ------------------------------- util/aio-wait.c | 31 +++++++++++++++++++++++++++++++ vl.c | 13 +++---------- 9 files changed, 83 insertions(+), 56 deletions(-)
Signature · 1 line
2.14.3