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
hmp.c hmp: introduce cmd_available 2020-12-10 12:15:15 -05:00
meson.build
misc.c
monitor-internal.h
monitor.c
qmp-cmds-control.c
qmp-cmds.c make ram_size local to vl.c 2020-12-10 12:15:10 -05:00
qmp.c
trace-events
trace.h