mirror of
https://gitlab.com/qemu-project/qemu
synced 2024-11-05 20:35:44 +00:00
0ff2553701
Use a continue statement so that "after going to sleep" is treated the same way as "after processing a request". Pull the monitor_lock critical section out of monitor_qmp_requests_pop_any_with_lock() and protect qmp_dispatcher_co_shutdown with the monitor_lock. The two changes are complex to separate because monitor_qmp_dispatcher_co() previously had a complicated logic to check for shutdown both before and after going to sleep. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> |
||
---|---|---|
.. | ||
fds.c | ||
hmp-cmds-target.c | ||
hmp-cmds.c | ||
hmp-target.c | ||
hmp.c | ||
meson.build | ||
monitor-internal.h | ||
monitor.c | ||
qmp-cmds-control.c | ||
qmp-cmds.c | ||
qmp.c | ||
trace-events | ||
trace.h |