Commit 79a71f3a49 for qemu.org

commit 79a71f3a49f106282447598b9ebb0e78cfc47425
Author: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Date:   Wed Aug 12 11:13:48 2026 +0200

    monitor: Include missing 'qemu/aio-wait.h' header

    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),
            |         ^

    Fixes: 9ce44e2ce26 ("qmp: Move dispatcher to a coroutine")
    Fixes: a5df506e129 ("monitor: implement support for deleting QMP objects")
    Signed-off-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
    Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
    Message-Id: <20260812211708.92824-8-philmd@oss.qualcomm.com>

diff --git a/monitor/monitor.c b/monitor/monitor.c
index ed195fd97b..c75ae81534 100644
--- a/monitor/monitor.c
+++ b/monitor/monitor.c
@@ -30,6 +30,7 @@
 #include "qapi/qapi-visit-control.h"
 #include "qobject/qdict.h"
 #include "qom/object_interfaces.h"
+#include "qemu/aio-wait.h"
 #include "qemu/error-report.h"
 #include "qemu/option.h"
 #include "system/qtest.h"
diff --git a/monitor/qmp.c b/monitor/qmp.c
index 338d37cb7e..6ae1098d39 100644
--- a/monitor/qmp.c
+++ b/monitor/qmp.c
@@ -23,7 +23,7 @@
  */

 #include "qemu/osdep.h"
-
+#include "qemu/aio-wait.h"
 #include "chardev/char-io.h"
 #include "monitor-internal.h"
 #include "qapi/error.h"