|
@@ -456,6 +456,10 @@ class BaseConfig(object):
|
|
|
if arg in self.fstypes + self.vmtypes + self.wictypes:
|
|
|
self.check_arg_fstype(arg)
|
|
|
elif arg == 'nographic':
|
|
|
+ if ('sdl' in sys.argv):
|
|
|
+ raise RunQemuError('Option nographic makes no sense alongside the sdl option.' % (arg))
|
|
|
+ if ('gtk' in sys.argv):
|
|
|
+ raise RunQemuError('Option nographic makes no sense alongside the gtk option.' % (arg))
|
|
|
self.qemu_opt_script += ' -nographic'
|
|
|
self.kernel_cmdline_script += ' console=ttyS0'
|
|
|
elif arg == 'sdl':
|