mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
net: vl: Move default_net to vl.c
All handling of defaults (default_* variables) is inside vl.c, move default_net there too, so we can more easily refactor that code later. Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Jason Wang <jasowang@redhat.com>
This commit is contained in:
parent
3af9187fc6
commit
d30300f771
3 changed files with 23 additions and 25 deletions
|
@ -178,7 +178,6 @@ struct NICInfo {
|
|||
|
||||
extern int nb_nics;
|
||||
extern NICInfo nd_table[MAX_NICS];
|
||||
extern int default_net;
|
||||
extern const char *host_net_devices[];
|
||||
|
||||
/* from net.c */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue