Skip to contentSkip to conversation

qemu-native: Add debugging when qemu fails with qemu_cpu_kick_thread

PATCH New Aníbal Limón 1 participant 1 message Aug 12, 2015

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 qemu-native: Add debugging when qemu fails with qemu_cpu_kick_thread

We are expecting some random failures in QEMU runs one of this is related to qemu_cpu_kick_thread that ends on exit(1) on qemu.

To improve debug information add patch that prints the backtrace and the status of qemu cpu.

[YOCTO #8143]

---
 meta/recipes-devtools/qemu/qemu.inc                |  1 +
 .../cpus.c-qemu_cpu_kick_thread_debugging.patch    | 75 ++++++++++++++++++++++
 2 files changed, 76 insertions(+)
 create mode 100644 meta/recipes-devtools/qemu/qemu/cpus.c-qemu_cpu_kick_thread_debugging.patch
meta/recipes-devtools/qemu/qemu.inc +1 -0
index c3f73d1..8c1e779 100644
@@ -25,6 +25,7 @@ SRC_URI = "\
 
 SRC_URI_append_class-native = "\
     file://fix-libcap-header-issue-on-some-distro.patch \
+    file://cpus.c-qemu_cpu_kick_thread_debugging.patch \
     "
 
 EXTRA_OECONF += "--target-list=${@get_qemu_target_list(d)} --disable-werror  --disable-bluez --disable-libiscsi --with-system-pixman --extra-cflags='${CFLAGS}'"
meta/recipes-devtools/qemu/qemu/cpus.c-qemu_cpu_kick_thread_debugging.patch new file +75 -0

75 lines not on this page · raw message

Signature · 1 line
1.9.1