qemu-e2k/monitor
Paolo Bonzini ad6f932fe8 net: do not exit on "netdev_add help" monitor command
"netdev_add help" is causing QEMU to exit because the code that
invokes show_netdevs is shared between CLI and HMP processing.
Move the check to the callers so that exit(0) remains only
in the CLI flow.

"netdev_add help" is not fixed by this patch; that is left for
later work.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
2020-11-24 10:40:17 +08: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: 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_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 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
trace.h