diff options
Diffstat (limited to 'scripts/runqemu')
| -rwxr-xr-x | scripts/runqemu | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index c40acc4a86..7fb5f7db57 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
| @@ -478,7 +478,8 @@ class BaseConfig(object): | |||
| 478 | self.qemu_opt_script += ' -display gtk,show-cursor=on' | 478 | self.qemu_opt_script += ' -display gtk,show-cursor=on' |
| 479 | elif arg == 'gl' or arg == 'gl-es': | 479 | elif arg == 'gl' or arg == 'gl-es': |
| 480 | # These args are handled inside sdl or gtk blocks above | 480 | # These args are handled inside sdl or gtk blocks above |
| 481 | pass | 481 | if ('gtk' not in sys.argv) and ('sdl' not in sys.argv): |
| 482 | raise RunQemuError('Option %s also needs gtk or sdl option.' % (arg)) | ||
| 482 | elif arg == 'egl-headless': | 483 | elif arg == 'egl-headless': |
| 483 | self.set_dri_path() | 484 | self.set_dri_path() |
| 484 | self.qemu_opt_script += ' -vga virtio -display egl-headless,show-cursor=on' | 485 | self.qemu_opt_script += ' -vga virtio -display egl-headless,show-cursor=on' |
