]> git.proxmox.com Git - qemu.git/commit
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)
commit641f6eae757e5b2cf854fec14038ffd229e9adea
tree1b32fb73c2dfe487ad7af51d691b377cddbb1215
parent1d66f1709435c2c72e2773549729b541e6d3d626
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