]> git.proxmox.com Git - mirror_qemu.git/commit
net: Print output of "-net nic, model=help" to stdout instead of stderr
authorThomas Huth <thuth@redhat.com>
Tue, 23 Apr 2019 16:06:08 +0000 (18:06 +0200)
committerLaurent Vivier <laurent@vivier.eu>
Fri, 3 May 2019 11:03:04 +0000 (13:03 +0200)
commit7b71e03af98fd7b5e125d7c10f02c804fcc5e5af
tree3fc516e9fc920eb263dd2b89feec5d59d9dd63a6
parent8603172889ccbb7b567eec54c03d9709877cc760
net: Print output of "-net nic, model=help" to stdout instead of stderr

We are printing all other help output to stdout already (e.g. "-help",
"-cpu help" and "-machine help" output). So the "-net nic,model=help"
output should go to stdout instead of stderr, too. And while we're at
it, also print the NICs line by line, like we do it e.g. with the
"-cpu help" or "-M help" output, too.

Buglink: https://bugs.launchpad.net/qemu/+bug/1574327
Signed-off-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Message-Id: <20190423160608.7519-1-thuth@redhat.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
net/net.c