mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-12-18 05:28:36 -07:00
default devices: network
Add a default_net variable which specified whenever a default network should be created. It is cleared in case any -net option is specified and it is also added to the new -nodefaults switch. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
d8c208dd8a
commit
cb4522ccf6
3 changed files with 6 additions and 1 deletions
1
net.h
1
net.h
|
|
@ -139,6 +139,7 @@ struct NICInfo {
|
|||
|
||||
extern int nb_nics;
|
||||
extern NICInfo nd_table[MAX_NICS];
|
||||
extern int default_net;
|
||||
|
||||
/* BT HCI info */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue