On 24/8/22 10:52, Bin Meng wrote:
From: Bin Meng <bin.m...@windriver.com>

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.m...@windriver.com>
---

Changes in v3:
- new patch: avoid adding the same HANDLE twice

  include/qemu/main-loop.h |  2 ++
  util/main-loop.c         | 10 ++++++++++
  2 files changed, 12 insertions(+)

Reviewed-by: Philippe Mathieu-Daudé <f4...@amsat.org>

Reply via email to