qemu/monitor
Kevin Wolf 2fc5d01bb4 hmp: Pass monitor to mon_get_cpu()
mon_get_cpu() is indirectly called monitor_parse_arguments() where
the current monitor isn't set yet. Instead of using monitor_cur(),
explicitly pass the Monitor pointer to the function.

Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Message-Id: <20201113114326.97663-2-kwolf@redhat.com>
Reviewed-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
2020-11-13 12:45:35 +00:00
..
hmp-cmds.c console: make QMP/HMP screendump run in coroutine 2020-11-04 08:02:25 +01:00
hmp.c hmp: Pass monitor to mon_get_cpu() 2020-11-13 12:45:35 +00:00
meson.build meson: add spice_headers dependency. 2020-10-15 11:14:40 +02:00
misc.c hmp: Pass monitor to mon_get_cpu() 2020-11-13 12:45:35 +00:00
monitor-internal.h hmp: Pass monitor to mon_get_cpu() 2020-11-13 12:45:35 +00:00
monitor.c monitor: Fix order in monitor_cleanup() 2020-10-15 16:06:28 +02:00
qmp-cmds-control.c monitor: Use getter/setter functions for cur_mon 2020-10-09 07:08:19 +02:00
qmp-cmds.c spice: move display_add_client() to QemuSpiceOps. 2020-10-21 15:46:14 +02:00
qmp.c qmp: Move dispatcher to a coroutine 2020-10-09 07:08:20 +02:00
trace-events monitor: Split out monitor/monitor.c 2019-06-18 08:14:17 +02:00
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00