diff options
author | Marc-André Lureau | 2018-08-21 12:07:16 +0200 |
---|---|---|
committer | Fam Zheng | 2018-10-12 03:46:14 +0200 |
commit | 14a2d11825ddc37d6547a80704ae6450e9e376c7 (patch) | |
tree | 6f12f5a30b5730e165b12059447386eb0afcf072 /hw/display/jazz_led.c | |
parent | Merge remote-tracking branch 'remotes/armbru/tags/pull-misc-2018-10-10' into ... (diff) | |
download | qemu-14a2d11825ddc37d6547a80704ae6450e9e376c7.tar.gz qemu-14a2d11825ddc37d6547a80704ae6450e9e376c7.tar.xz qemu-14a2d11825ddc37d6547a80704ae6450e9e376c7.zip |
iothread: fix crash with invalid properties
-object iothread,id=foo,? will crash qemu:
qemu-system-x86_64:qemu-thread-posix.c:128: qemu_cond_destroy: Assertion `cond->initialized' failed.
Use thread_id != -1 to check if iothread_complete() finished
successfully and the mutex/cond have been initialized.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20180821100716.13803-1-marcandre.lureau@redhat.com>
Signed-off-by: Fam Zheng <famz@redhat.com>
Diffstat (limited to 'hw/display/jazz_led.c')
0 files changed, 0 insertions, 0 deletions