mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 20:03:54 -06:00
monitor: introduce qmp_dispatcher_co_wake
This makes it possible to turn qmp_dispatcher_co_busy into a static variable. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
0ff2553701
commit
9f2d58546e
3 changed files with 31 additions and 29 deletions
|
@ -165,7 +165,6 @@ typedef QTAILQ_HEAD(MonitorList, Monitor) MonitorList;
|
|||
extern IOThread *mon_iothread;
|
||||
extern Coroutine *qmp_dispatcher_co;
|
||||
extern bool qmp_dispatcher_co_shutdown;
|
||||
extern bool qmp_dispatcher_co_busy;
|
||||
extern QmpCommandList qmp_commands, qmp_cap_negotiation_commands;
|
||||
extern QemuMutex monitor_lock;
|
||||
extern MonitorList mon_list;
|
||||
|
@ -183,6 +182,7 @@ void monitor_fdsets_cleanup(void);
|
|||
void qmp_send_response(MonitorQMP *mon, const QDict *rsp);
|
||||
void monitor_data_destroy_qmp(MonitorQMP *mon);
|
||||
void coroutine_fn monitor_qmp_dispatcher_co(void *data);
|
||||
void qmp_dispatcher_co_wake(void);
|
||||
|
||||
int get_monitor_def(Monitor *mon, int64_t *pval, const char *name);
|
||||
void handle_hmp_command(MonitorHMP *mon, const char *cmdline);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue