aboutsummaryrefslogtreecommitdiff
path: root/vl.c
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2009-12-08 13:11:46 +0100
committerAnthony Liguori <aliguori@us.ibm.com>2009-12-12 07:59:43 -0600
commitd8c208dd8a038d24ba4890156101bc679a8c8fef (patch)
treedd068d2e2ee311925417a85fb6bf7552ba1f0ad0 /vl.c
parent64465297cd4c701942988f36f7ce707fb21cc1d8 (diff)
downloadqemu-d8c208dd8a038d24ba4890156101bc679a8c8fef.zip
qemu-d8c208dd8a038d24ba4890156101bc679a8c8fef.tar.gz
qemu-d8c208dd8a038d24ba4890156101bc679a8c8fef.tar.bz2
default devices: add global cmd line option.
Add global command line option to disable default devices. 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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/vl.c b/vl.c
index 444f414..69b577f 100644
--- a/vl.c
+++ b/vl.c
@@ -5471,6 +5471,12 @@ int main(int argc, char **argv, char **envp)
case QEMU_OPTION_incoming:
incoming = optarg;
break;
+ case QEMU_OPTION_nodefaults:
+ default_serial = 0;
+ default_parallel = 0;
+ default_monitor = 0;
+ default_vga = 0;
+ break;
#ifndef _WIN32
case QEMU_OPTION_chroot:
chroot_dir = optarg;