summaryrefslogtreecommitdiffstats
path: root/scripts/runqemu
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-xscripts/runqemu4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu
index 7fb5f7db57..c71f3c4df5 100755
--- a/scripts/runqemu
+++ b/scripts/runqemu
@@ -456,6 +456,10 @@ class BaseConfig(object):
456 if arg in self.fstypes + self.vmtypes + self.wictypes: 456 if arg in self.fstypes + self.vmtypes + self.wictypes:
457 self.check_arg_fstype(arg) 457 self.check_arg_fstype(arg)
458 elif arg == 'nographic': 458 elif arg == 'nographic':
459 if ('sdl' in sys.argv):
460 raise RunQemuError('Option nographic makes no sense alongside the sdl option.' % (arg))
461 if ('gtk' in sys.argv):
462 raise RunQemuError('Option nographic makes no sense alongside the gtk option.' % (arg))
459 self.qemu_opt_script += ' -nographic' 463 self.qemu_opt_script += ' -nographic'
460 self.kernel_cmdline_script += ' console=ttyS0' 464 self.kernel_cmdline_script += ' console=ttyS0'
461 elif arg == 'sdl': 465 elif arg == 'sdl':