Re: [Qemu-devel] lm32: tcg_handle_interrupt: assertion failed: (qemu_mutex_iothread_locked())

2018-05-11 Thread Paolo Bonzini
On 09/05/2018 17:06, Michael Walle wrote: >> >> All these calls into lm32_pic.c need to take the BQL.  They are all >> wrong, but this one was unlucky (or lucky) enough to be caught. >> >> Paolo > > my patch [1] from the beginning of this year just take the lock in > op_helper.c. Yes, I agree tha

Re: [Qemu-devel] lm32: tcg_handle_interrupt: assertion failed: (qemu_mutex_iothread_locked())

2018-05-09 Thread Philippe Mathieu-Daudé
On 05/09/2018 12:06 PM, Michael Walle wrote: > Am 2018-05-09 13:51, schrieb Paolo Bonzini: >> On 08/05/2018 03:49, Philippe Mathieu-Daudé wrote: >>> #2  0x7fe17d5eefa5 in g_assertion_message () at >>> /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 >>> #3  0x7fe17d5ef00a in g_assertion_message_e

Re: [Qemu-devel] lm32: tcg_handle_interrupt: assertion failed: (qemu_mutex_iothread_locked())

2018-05-09 Thread Michael Walle
Hi, Am 2018-05-09 13:51, schrieb Paolo Bonzini: On 08/05/2018 03:49, Philippe Mathieu-Daudé wrote: #2 0x7fe17d5eefa5 in g_assertion_message () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x7fe17d5ef00a in g_assertion_message_expr () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 #

Re: [Qemu-devel] lm32: tcg_handle_interrupt: assertion failed: (qemu_mutex_iothread_locked())

2018-05-09 Thread Paolo Bonzini
On 08/05/2018 03:49, Philippe Mathieu-Daudé wrote: > #2 0x7fe17d5eefa5 in g_assertion_message () at > /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 > #3 0x7fe17d5ef00a in g_assertion_message_expr () at > /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0 > #4 0x559d92ace7d5 in tcg_handle_interr

[Qemu-devel] lm32: tcg_handle_interrupt: assertion failed: (qemu_mutex_iothread_locked())

2018-05-07 Thread Philippe Mathieu-Daudé
Hi Paolo and Michael, Using LM32 images from http://milkymist.walle.cc/README.qemu (Whether http://milkymist.walle.cc/updates/2012-03-01/flickernoise or the flash image) I get: $ lm32-softmmu/qemu-system-lm32 -M milkymist -kernel flickernoise \ -d int,guest_errors,trace:lm32\* 16363@152574349