On Wed, 12 Aug 2026 15:11:37 +0200, Philippe Mathieu-Daudé 
<[email protected]> wrote:
> Both monitor.c and qmp.c use types / methods declared in
> "qemu/aio-wait.h". Include the latter to avoid the following
> errors when refactoring unrelated headers:
> 
>   ../monitor/monitor.c:648:5: error: call to undeclared function 
> 'AIO_WAIT_WHILE_UNLOCKED'
>     648 |     AIO_WAIT_WHILE_UNLOCKED(NULL,
>         |     ^
>   ../monitor/qmp.c:792:9: error: call to undeclared function 
> 'aio_wait_bh_oneshot'
>     792 |         aio_wait_bh_oneshot(iothread_get_aio_context(mon_iothread),
>         |         ^
> 
> [...]

Reviewed-by: Marc-André Lureau <[email protected]>

-- 
Marc-André Lureau <[email protected]>


Reply via email to