]> git.proxmox.com Git - mirror_qemu.git/commit
net: List available netdevs with "-netdev help"
authorThomas Huth <thuth@redhat.com>
Wed, 21 Feb 2018 10:18:31 +0000 (11:18 +0100)
committerJason Wang <jasowang@redhat.com>
Mon, 5 Mar 2018 02:30:14 +0000 (10:30 +0800)
commit547203ead4327b353c25753a3ebb0acdc0ed2cf5
treebb7cdab82f732d0a14ef531dc9c4b93cdf8abe3c
parent34f708b0b6bef9ac1e371879a47df5b5fb95726f
net: List available netdevs with "-netdev help"

Other options like "-chardev" or "-device" feature a nice help text
with the available devices when being called with "help" or "?".
Since it is quite useful, especially if you want to see which network
backends have been compiled into the QEMU binary, let's provide such
a help text for "-netdev", too.

Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Eric Blake <eblake@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Jason Wang <jasowang@redhat.com>
net/net.c