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(-) -- 2.49.1
