aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-12-08 13:11:47 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:43 -0600
commitcb4522ccf67ba84d246291d9f75bd7f3df137d1a (patch)
tree0f75897827368623ca718d7af904f56978f82566 /vl.c
parentd8c208dd8a038d24ba4890156101bc679a8c8fef (diff)
downloadqemu-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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 69b577f..4825836 100644
--- a/vl.c
+++ b/vl.c
@@ -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: