summary refs log tree commit diff stats
path: root/hw/core/qdev-properties-system.c
diff options
context:
space:
mode:
authorBin Meng <bin.meng@windriver.com>2022-10-19 18:20:14 +0800
committerPaolo Bonzini <pbonzini@redhat.com>2022-11-06 09:48:26 +0100
commitd393b0a176068c41cc08f41c245721ed9ca91d30 (patch)
tree1a95b3f9aa3b29796bec82251b57ce45da5592b5 /hw/core/qdev-properties-system.c
parent4f76b3d9bb1a5b16166217b46a5f50b3a7c2f5a8 (diff)
downloadfocaccia-qemu-d393b0a176068c41cc08f41c245721ed9ca91d30.tar.gz
focaccia-qemu-d393b0a176068c41cc08f41c245721ed9ca91d30.zip
util/main-loop: Avoid adding the same HANDLE twice
Fix the logic in qemu_add_wait_object() to avoid adding the same
HANDLE twice, as the behavior is undefined when passing an array
that contains same HANDLEs to WaitForMultipleObjects() API.

Signed-off-by: Bin Meng <bin.meng@windriver.com>
Message-Id: <20221019102015.2441622-2-bmeng.cn@gmail.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions