This series cleans up net_client_init1() and reports an error when the -net type isn't compiled into the QEMU binary.
It is based on my net branch with Markus' error cleanups: https://github.com/stefanha/qemu/tree/net Stefan Hajnoczi (5): net: add missing "netmap" to host_net_devices[] net: replace net_client_init1() netdev whitelist with blacklist net: raise an error if -net type is invalid net: drop if expression that is always true net: simplify net_client_init1() net/net.c | 91 ++++++++++++++++++++++++++------------------------------------- 1 file changed, 37 insertions(+), 54 deletions(-) -- 2.4.1