Skip to contentSkip to conversation

qemu: Remove deprecated asyncio calls in qmp python module

PATCH New Khem Raj 1 participant 1 message Jul 26, 2025

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 qemu: Remove deprecated asyncio calls in qmp python module

Fixes deprecation warning seen with python 3.13

DEBUG: QMP Initializing to /mnt/b/yoe/master/build/tmp/.sv4_k_q4

recipe-sysroot-native/usr/lib/qemu-python/qmp/legacy.py:89: DeprecationWarning: There is no current event loop
self._aloop = asyncio.get_event_loop()

---
 meta/recipes-devtools/qemu/qemu.inc           |  1 +
 ...move-deprecated-get_event_loop-calls.patch | 85 +++++++++++++++++++
 2 files changed, 86 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/0012-Remove-deprecated-get_event_loop-calls.patch
meta/recipes-devtools/qemu/qemu.inc +1 -0
index 7893df0df24..2ee76e9a7ce 100644
@@ -31,6 +31,7 @@ SRC_URI = "https://download.qemu.org/${BPN}-${PV}.tar.xz \
            file://0008-Define-MAP_SYNC-and-MAP_SHARED_VALIDATE-on-needed-li.patch \
            file://0010-configure-lookup-meson-exutable-from-PATH.patch \
            file://0011-qemu-Ensure-pip-and-the-python-venv-aren-t-used-for-.patch \
+           file://0012-Remove-deprecated-get_event_loop-calls.patch \
            file://qemu-guest-agent.init \
            file://qemu-guest-agent.udev \
            "
meta/recipes-devtools/qemu/qemu/0012-Remove-deprecated-get_event_loop-calls.patch new file +85 -0

85 lines not on this page · raw message