Rebase more aio dma cancellation work
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 6 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | Use vectored aiocb storage to store vector translation stateblock.c | +14 | 1 reply | |
| 2/4 | Move block dma helpers aiocb to store dma statedma-helpers.c | +20 | 1 reply | |
| 3/4 | Fix vectored aio bounce handling immediate errorsblock.c | +5 | 1 reply | |
| 4/4 | Fix DMA API when handling an immediate error from block layerdma-helpers.c | +21 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [Qemu-devel] [STABLE][PATCH 0/4] Rebase more aio dma cancellation work
Hi,
We've a report of F11 qemu segfaulting when using read-only
images here:
https://bugzilla.redhat.com/497170
Looking at the current code in stable, there is clearly some
borkage:
- No error handling in bdrv_aio_rw_vector()
- No error handling in dma_bdrv_cb()/dma_bdrv_io()
- VectorTranslationState is leaked by bdrv_aio_rw_vector_cb()
- dma_aio_cancel() is cancelling the wrong aio
The rest of Avi's aio cancellation patches actually fixes all
these problems. Please apply to stable.
Cheers,
Mark.