1
0
mirror of https://gitlab.com/qemu-project/qemu synced 2024-07-08 20:17:27 +00:00
qemu/monitor
Paolo Bonzini 3e6bed619a monitor: cleanup detection of qmp_dispatcher_co shutting down
Instead of overloading qmp_dispatcher_co_busy, make the coroutine
pointer NULL.  This will make things break spectacularly if somebody
tries to start a request after monitor_cleanup().

AIO_WAIT_WHILE_UNLOCKED() does not need qatomic_mb_read(), because
the macro contains all the necessary memory barriers.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2023-05-25 10:18:33 +02:00
..
fds.c monitor: restrict command getfd to POSIX hosts 2023-03-13 15:46:09 +04:00
hmp-cmds-target.c monitor: Move target-dependent HMP commands to hmp-cmds-target.c 2023-02-04 07:56:54 +01:00
hmp-cmds.c monitor: restrict command getfd to POSIX hosts 2023-03-13 15:46:09 +04:00
hmp-target.c monitor: Rename misc.c to hmp-target.c 2023-02-04 07:56:54 +01:00
hmp.c monitor: do not use mb_read/mb_set for suspend_cnt 2023-05-25 10:18:33 +02:00
meson.build monitor: Rename misc.c to hmp-target.c 2023-02-04 07:56:54 +01:00
monitor-internal.h monitor: do not use mb_read/mb_set for suspend_cnt 2023-05-25 10:18:33 +02:00
monitor.c monitor: cleanup detection of qmp_dispatcher_co shutting down 2023-05-25 10:18:33 +02:00
qmp-cmds-control.c monitor: Drop unnecessary includes 2023-02-04 07:56:52 +01:00
qmp-cmds.c qmp: 'add_client' actually expects sockets 2023-03-13 15:40:41 +04:00
qmp.c monitor: cleanup detection of qmp_dispatcher_co shutting down 2023-05-25 10:18:33 +02:00
trace-events docs: fix references to docs/devel/tracing.rst 2021-06-02 06:51:09 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00