mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 02:03:56 -06:00
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>
This commit is contained in:
parent
7f76abe1c9
commit
668680f75f
3 changed files with 4 additions and 3 deletions
2
vl.c
2
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 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue