Re: [PATCH] net: do not exit on "netdev_add help" monitor command

2020-11-11 Thread Jason Wang
On 2020/11/11 下午6:52, Paolo Bonzini wrote: "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; th

[PATCH] net: do not exit on "netdev_add help" monitor command

2020-11-11 Thread Paolo Bonzini
"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: Paol