net: Don't warn about the default network setup
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 20 May 2011 15:50:00 +0000 (16:50 +0100)
committerAnthony Liguori <aliguori@us.ibm.com>
Wed, 22 Jun 2011 12:18:38 +0000 (07:18 -0500)
commit1b94b96d0d892d8fd33f7d16cf17d3b05f1920e6
tree1b32fb73c2dfe487ad7af51d691b377cddbb1215
parent70a1c8aa5d745f172f80f3cf0d3b56093fd99d38
net: Don't warn about the default network setup

Don't warn about the default network setup that you get if no command line
-net options are specified.  There are two cases that we would otherwise
complain about:

(1) board doesn't support a NIC but the implicit "-net nic" requested one
(2) CONFIG_SLIRP not set, so the implicit "-net nic" sets up a nic that
isn't connected to anything

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
net.c