[PULL 3/3] util: fix missing aio_wait sym in qemu guest agent only build
Michael Tokarev <[email protected]>
| Newsgroups | org.nongnu.qemu-trivial,org.nongnu.qemu-devel |
|---|---|
| Message-ID | <[email protected]> |
From: Daniel P. Berrangé <[email protected]> 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é <[email protected]> Cc: [email protected] Reviewed-by: Michael Tokarev <[email protected]> Signed-off-by: Michael Tokarev <[email protected]> --- util/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/meson.build b/util/meson.build index c2d77bf9de..5d3fff0eea 100644 --- a/util/meson.build +++ b/util/meson.build @@ -79,6 +79,7 @@ endif if have_block or have_ga util_ss.add(files('aiocb.c', 'async.c')) + util_ss.add(files('aio-wait.c')) util_ss.add(files('base64.c')) util_ss.add(files('main-loop.c')) 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 util_ss.add(files('qemu-sockets.c')) endif if have_block - util_ss.add(files('aio-wait.c')) util_ss.add(files('buffer.c')) util_ss.add(files('bufferiszero.c')) util_ss.add(files('hbitmap.c')) -- 2.47.3