diff options
| author | Paolo Bonzini | 2020-11-11 11:52:22 +0100 |
|---|---|---|
| committer | Jason Wang | 2020-11-24 03:40:17 +0100 |
| commit | ad6f932fe8d1fc7f37ec17c7520aec68d3ee3706 (patch) | |
| tree | bcc38a02aad021c16fa50df9d448683a3e0d44f6 /linux-user/linux_loop.h | |
| parent | hw/net/e1000e: advance desc_offset in case of null descriptor (diff) | |
| download | qemu-ad6f932fe8d1fc7f37ec17c7520aec68d3ee3706.tar.gz qemu-ad6f932fe8d1fc7f37ec17c7520aec68d3ee3706.tar.xz 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 'linux-user/linux_loop.h')
0 files changed, 0 insertions, 0 deletions
