diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2018-08-21 12:07:16 +0200 |
---|---|---|
committer | Fam Zheng <famz@redhat.com> | 2018-10-12 09:46:14 +0800 |
commit | 14a2d11825ddc37d6547a80704ae6450e9e376c7 (patch) | |
tree | 6f12f5a30b5730e165b12059447386eb0afcf072 /block | |
parent | 75e50c80e051423a6f55a34ee4a1eec842444a5b (diff) | |
download | qemu-14a2d11825ddc37d6547a80704ae6450e9e376c7.zip qemu-14a2d11825ddc37d6547a80704ae6450e9e376c7.tar.gz qemu-14a2d11825ddc37d6547a80704ae6450e9e376c7.tar.bz2 |
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 'block')
0 files changed, 0 insertions, 0 deletions