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 08:17:30 -0600 |
commit | 782e9e6554d2404689a156282622046538bccd17 (patch) | |
tree | 287cf852f8ac83f9e9bd87fae32810f997b88e70 /net.h | |
parent | default devices: add global cmd line option. (diff) | |
download | qemu-kvm-782e9e6554d2404689a156282622046538bccd17.tar.gz qemu-kvm-782e9e6554d2404689a156282622046538bccd17.tar.bz2 qemu-kvm-782e9e6554d2404689a156282622046538bccd17.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>
(cherry picked from commit cb4522ccf67ba84d246291d9f75bd7f3df137d1a)
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 */ |