block: Fix regression introduced with prep_writev2 support
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest1 patch 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/1 | block: Don't regress when prep_writev2 isn't presentblock/ block/ | +0 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH qemu 0/1] block: Fix regression introduced with prep_writev2 support
Hi folks,
This is my first contribution to QEMU so please bear with me. :-)
I'm raising this because Kata Containers recently upgraded from QEMU 9 to 10 and it turns out this broke virtio-blk for the project [1].
The issue is that when QEMU introduced support for prep_writev2, it also started enforcing flags be unset when using prep_write. However, this breaks on systems where prep_writev2 isn't present and the prep_write branch is taken (e.g. Ubuntu 22.04 with liburing 2.1 in Kata), as the flags aren't necessarily empty there, and the assertion is violated.
We patched Kata by upgrading liburing [2] but I thought others might benefit from patching QEMU.
[1] https://github.com/kata-containers/kata-containers/issues/11686
[2] https://github.com/kata-containers/kata-containers/pull/11918
Aurélien Bombo (1):
block: Don't regress when prep_writev2 isn't present
block/io_uring.c | 1 - block/linux-aio.c | 1 - 2 files changed, 2 deletions(-)
Signature · 1 line
2.49.1