summaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorMarkus Armbruster <armbru@redhat.com>2010-02-11 14:44:58 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2010-02-19 12:12:46 -0600
commit62fa828f898c0fba13edbf959860ecf55ac251cc (patch)
treed51d88551caf4463988ecb16af7d842559618ed2 /vl.c
parent6c868f232cef43fc6aa02ba376fd680511e70054 (diff)
downloadqemu-62fa828f898c0fba13edbf959860ecf55ac251cc.tar.gz
qemu-62fa828f898c0fba13edbf959860ecf55ac251cc.tar.bz2
qemu-62fa828f898c0fba13edbf959860ecf55ac251cc.zip
net: net_check_clients() runs too early to see -device, fix
Call it right after -device devices get created. Signed-off-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'vl.c')
-rw-r--r--vl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 98918ac49d..084604ff9e 100644
--- a/vl.c
+++ b/vl.c
@@ -5897,6 +5897,8 @@ int main(int argc, char **argv, char **envp)
if (qemu_opts_foreach(&qemu_device_opts, device_init_func, NULL, 1) != 0)
exit(1);
+ net_check_clients();
+
if (!display_state)
dumb_display_init();
/* just use the first displaystate for the moment */