qemu-e2k/tests
Paolo Bonzini 6ee7c82d0d monitor: do not use mb_read/mb_set for suspend_cnt
Clean up monitor_event to just use monitor_suspend/monitor_resume,
using mon->mux_out to protect against incorrect nesting (especially
on startup).

The only remaining case of reading suspend_cnt is in the can_read
callback, which is just advisory and can use qatomic_read.

As an extra benefit, mux_out is now simply protected by mon_lock.
Also, moving the prompt to the beginning of the main loop removes
it from the output in some error cases where QEMU does not actually
start successfully.  It is not a full fix and it would be nice to
also remove the monitor heading, but this is already a small (though
unintentional) improvement.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-05-25 10:18:33 +02:00
..
avocado acpi/tests/avocado/bits: enable bios bits avocado tests on gitlab CI pipeline 2023-05-22 10:32:59 +02:00
bench util: import GTree as QTree 2023-03-28 15:23:10 -07:00
data ACPI: bios-tables-test.c step 5 (update expected table binaries) 2023-05-19 01:36:09 -04:00
decode decodetree: Extend argument set syntax to allow types 2021-05-01 11:45:35 -07:00
docker tests/docker: add python3-venv dependency 2023-05-18 08:53:51 +02:00
fp tests: make fp-test less chatty when running from test suite 2023-03-01 10:31:28 +00:00
guest-debug gdbstub: add test for untimely stop-reply packets 2023-05-18 12:40:52 -07:00
image-fuzzer
include tests: add missing generated sources to testqapi 2020-10-17 10:45:50 -04:00
keys tests/vm: Add Haiku test based on their vagrant images 2020-11-17 09:45:24 +01:00
lcitool tests/lcitool: Add mtools and xorriso and remove genisoimage as dependencies 2023-05-16 09:14:18 +02:00
migration hw/misc/sga: Remove the deprecated "sga" device 2023-02-14 09:02:42 +01:00
multiboot Remove superfluous .gitignore files 2020-10-13 12:48:17 +02:00
perf/block/qcow2
plugin tests/plugins: add instruction matching to libinsn.so 2022-02-09 12:08:42 +00:00
qapi-schema qapi: Improve error message for description following section 2023-05-22 10:03:26 +02:00
qemu-iotests monitor: do not use mb_read/mb_set for suspend_cnt 2023-05-25 10:18:33 +02:00
qtest tests/qtest/meson.build: Run the net filter tests only with default devices 2023-05-22 09:44:48 +02:00
rocker
tcg Hexagon update 2023-05-18 20:44:34 -07:00
tsan tests/docker: Added docker build support for TSan. 2020-06-16 14:49:05 +01:00
uefi-test-tools Remove superfluous .gitignore files 2020-10-13 12:48:17 +02:00
unit tested: add test for nested aio_poll() in poll handlers 2023-05-19 19:12:12 +02:00
vm tests/vm: add py310-expat to NetBSD 2023-05-18 08:53:51 +02:00
vmstate-static-checker-data hw: Replace anti-social QOM type names 2021-03-19 15:18:43 +01:00
Makefile.include tests: Use configure-provided pyvenv for tests 2023-05-18 08:53:51 +02:00
dbus-vmstate-daemon.sh
meson.build meson: create have_vhost_* variables 2022-05-07 07:46:58 +02:00
requirements.txt tests: Use configure-provided pyvenv for tests 2023-05-18 08:53:51 +02:00
test-qht-par.c
vhost-user-bridge.c error handling: Use RETRY_ON_EINTR() macro where applicable 2023-01-09 13:50:47 +01:00