qemu-e2k/monitor
Paolo Bonzini 4cd2927472 hmp: introduce cmd_available
Combine the RUN_STATE_PRECONFIG and cmd_can_preconfig checks
into a single function, to avoid repeating the same expression
(or its negation after applying DeMorgan's rule) over and
over again.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
2020-12-10 12:15:15 -05:00
..
hmp-cmds.c net: do not exit on "netdev_add help" monitor command 2020-11-24 10:40:17 +08:00
hmp.c hmp: introduce cmd_available 2020-12-10 12:15:15 -05: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_env() 2020-11-13 12:45:51 +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 make ram_size local to vl.c 2020-12-10 12:15:10 -05:00
qmp.c qmp: Move dispatcher to a coroutine 2020-10-09 07:08:20 +02:00
trace-events
trace.h trace: switch position of headers to what Meson requires 2020-08-21 06:18:24 -04:00