util: fix missing aio_wait sym in qemu guest agent only build
Configure QEMU with --disable-system --disable-user --disable-tools --enable-guest-agent and the build with fail with FAILED: [code=1] qga/qemu-ga ld: libqemuutil.a.p/qapi_qmp-dispatch.c.o: in function `do_qmp_dispatch_bh': qapi/qmp-dispatch.c:140:(.text+0x5c): undefined reference to `aio_wait_kick' This aio_kick() usage was recently introduced in qmp-dispatch.c without updating the build logic. Fixes commit fc1a2ec7da531223b3473185dc2584f8a7c6c659 Signed-off-by: Daniel P. Berrangé <berrange@redhat.com> Cc: qemu-stable@nongnu.org Reviewed-by: Michael Tokarev <mjt@tls.msk.ru> Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Daniel P. Berrangé committed
Apr 7, 2026 at 16:18 UTC
17fbf3e18c3dbc32ec07cfc24853d6654a813e90
1 file changed
+1
-1
util/meson.build
+1
-1
@@ -79,6 +79,7 @@ endif
79
80
if have_block or have_ga
81
util_ss.add(files('aiocb.c', 'async.c'))
82
+ util_ss.add(files('aio-wait.c'))
83
util_ss.add(files('base64.c'))
84
util_ss.add(files('main-loop.c'))
85
util_ss.add(files('qemu-coroutine.c', 'qemu-coroutine-lock.c', 'qemu-coroutine-io.c'))
@@ -87,7 +88,6 @@ if have_block or have_ga
88
util_ss.add(files('qemu-sockets.c'))
89
endif
90
if have_block
90
- util_ss.add(files('aio-wait.c'))
91
util_ss.add(files('buffer.c'))
92
util_ss.add(files('bufferiszero.c'))
93
util_ss.add(files('hbitmap.c'))