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 /vl.c | |
parent | d8c208dd8a038d24ba4890156101bc679a8c8fef (diff) | |
download | qemu-cb4522ccf67ba84d246291d9f75bd7f3df137d1a.zip qemu-cb4522ccf67ba84d246291d9f75bd7f3df137d1a.tar.gz qemu-cb4522ccf67ba84d246291d9f75bd7f3df137d1a.tar.bz2 |
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 'vl.c')
-rw-r--r-- | vl.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -5476,6 +5476,7 @@ int main(int argc, char **argv, char **envp) default_parallel = 0; default_monitor = 0; default_vga = 0; + default_net = 0; break; #ifndef _WIN32 case QEMU_OPTION_chroot: |