diff options
-rwxr-xr-x | scripts/runqemu | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 398f0a0910..b24ac1c804 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -436,6 +436,10 @@ class BaseConfig(object): | |||
436 | if arg in self.fstypes + self.vmtypes + self.wictypes: | 436 | if arg in self.fstypes + self.vmtypes + self.wictypes: |
437 | self.check_arg_fstype(arg) | 437 | self.check_arg_fstype(arg) |
438 | elif arg == 'nographic': | 438 | elif arg == 'nographic': |
439 | if ('sdl' in sys.argv): | ||
440 | raise RunQemuError('Option nographic makes no sense alongside the sdl option.' % (arg)) | ||
441 | if ('gtk' in sys.argv): | ||
442 | raise RunQemuError('Option nographic makes no sense alongside the gtk option.' % (arg)) | ||
439 | self.qemu_opt_script += ' -nographic' | 443 | self.qemu_opt_script += ' -nographic' |
440 | self.kernel_cmdline_script += ' console=ttyS0' | 444 | self.kernel_cmdline_script += ' console=ttyS0' |
441 | elif arg == 'sdl': | 445 | elif arg == 'sdl': |