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
..
2019-07-02 10:21:06 +08:00
2020-09-09 09:27:09 -04:00
2019-08-16 13:31:52 +02:00
2020-07-28 16:57:58 +08:00
2016-02-04 17:41:30 +00:00
2019-01-14 00:44:29 +01:00