[Bug 1201307] liburing 2.2 update breaks qemu build
https://bugzilla.suse.com/show_bug.cgi?id=1201307 https://bugzilla.suse.com/show_bug.cgi?id=1201307#c4 --- Comment #4 from Dario Faggioli <dfaggioli@suse.com> --- (In reply to David Disseldorp from comment #0)
It's dealt with in upstream QEMU (v7.0.0 and later) via:
Ok, thanks for digging this up.
commit 8a947c7a586e16a048894e1a0a73d154435e90ef Author: Haiyue Wang <haiyue.wang@intel.com> Date: Tue Feb 22 00:24:01 2022 +0800
aio-posix: fix build failure io_uring 2.2 ... --- a/util/fdmon-io_uring.c +++ b/util/fdmon-io_uring.c @@ -179,7 +179,11 @@ static void add_poll_remove_sqe(AioContext *ctx, AioHandler *node) { struct io_uring_sqe *sqe = get_sqe(ctx);
+#ifdef LIBURING_HAVE_DATA64 + io_uring_prep_poll_remove(sqe, (__u64)(uintptr_t)node); +#else io_uring_prep_poll_remove(sqe, node); +#endif
It looks like it should be a pretty simple cherry pick.
Yeah, the change can be picked up for QEMU 6.2, no big deal. However, I'd really like to see if we can get 7.0 to factory. It should really be ready now, pending only OBS building it, despite the heatwave... -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com