diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2009-12-08 13:11:47 +0100 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-12-12 07:59:43 -0600 |
commit | cb4522ccf67ba84d246291d9f75bd7f3df137d1a (patch) | |
tree | 0f75897827368623ca718d7af904f56978f82566 /net.h | |
parent | d8c208dd8a038d24ba4890156101bc679a8c8fef (diff) | |
download | qemu-cb4522ccf67ba84d246291d9f75bd7f3df137d1a.tar.gz qemu-cb4522ccf67ba84d246291d9f75bd7f3df137d1a.tar.bz2 qemu-cb4522ccf67ba84d246291d9f75bd7f3df137d1a.zip |
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>
Diffstat (limited to 'net.h')
-rw-r--r-- | net.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -139,6 +139,7 @@ struct NICInfo { extern int nb_nics; extern NICInfo nd_table[MAX_NICS]; +extern int default_net; /* BT HCI info */ |