summary refs log tree commit diff stats
path: root/hw/core/qdev-properties-system.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2020-11-11 05:52:22 -0500
committerJason Wang <jasowang@redhat.com>2020-11-24 10:40:17 +0800
commitad6f932fe8d1fc7f37ec17c7520aec68d3ee3706 (patch)
treebcc38a02aad021c16fa50df9d448683a3e0d44f6 /hw/core/qdev-properties-system.c
parentc2cb511634012344e3d0fe49a037a33b12d8a98a (diff)
downloadfocaccia-qemu-ad6f932fe8d1fc7f37ec17c7520aec68d3ee3706.tar.gz
focaccia-qemu-ad6f932fe8d1fc7f37ec17c7520aec68d3ee3706.zip
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>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions