From 62fa828f898c0fba13edbf959860ecf55ac251cc Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Thu, 11 Feb 2010 14:44:58 +0100 Subject: net: net_check_clients() runs too early to see -device, fix Call it right after -device devices get created. Signed-off-by: Markus Armbruster Signed-off-by: Anthony Liguori --- vl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'vl.c') 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 */ -- cgit v1.2.3