summary refs log tree commit diff stats
path: root/tests/functional/test_mips_tuxrun.py
diff options
context:
space:
mode:
authorRoman Penyaev <r.peniaev@gmail.com>2024-10-14 17:24:01 +0200
committerMarc-André Lureau <marcandre.lureau@redhat.com>2024-10-15 12:26:01 +0400
commitdf12798f8791a929f4d7309f67a0f437c608e7fb (patch)
tree0bcef947c2f77dd5db822a084a376ad98cbfc8f5 /tests/functional/test_mips_tuxrun.py
parentaa54f5be44be786636a5d51cc1612ad208a24849 (diff)
downloadfocaccia-qemu-df12798f8791a929f4d7309f67a0f437c608e7fb.tar.gz
focaccia-qemu-df12798f8791a929f4d7309f67a0f437c608e7fb.zip
chardev/char: fix qemu_chr_is_busy() check
`mux_cnt` struct member never goes negative or decrements,
so mux chardev can be !busy only when there are no
frontends attached. This patch fixes the always-true
check.

Fixes: a4afa548fc6d ("char: move front end handlers in CharBackend")
Signed-off-by: Roman Penyaev <r.peniaev@gmail.com>
Cc: "Marc-André Lureau" <marcandre.lureau@redhat.com>
Cc: qemu-devel@nongnu.org
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-ID: <20241014152408.427700-2-r.peniaev@gmail.com>
Diffstat (limited to 'tests/functional/test_mips_tuxrun.py')
0 files changed, 0 insertions, 0 deletions