diff options
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index 21680b49d2..85f323a712 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -461,27 +461,27 @@ class BaseConfig(object): | |||
461 | elif arg == 'sdl': | 461 | elif arg == 'sdl': |
462 | if 'gl' in sys.argv[1:]: | 462 | if 'gl' in sys.argv[1:]: |
463 | self.set_dri_path() | 463 | self.set_dri_path() |
464 | self.qemu_opt_script += ' -vga virtio -display sdl,gl=on' | 464 | self.qemu_opt_script += ' -vga virtio -display sdl,gl=on,show-cursor=on' |
465 | elif 'gl-es' in sys.argv[1:]: | 465 | elif 'gl-es' in sys.argv[1:]: |
466 | self.set_dri_path() | 466 | self.set_dri_path() |
467 | self.qemu_opt_script += ' -vga virtio -display sdl,gl=es' | 467 | self.qemu_opt_script += ' -vga virtio -display sdl,gl=es,show-cursor=on' |
468 | else: | 468 | else: |
469 | self.qemu_opt_script += ' -display sdl' | 469 | self.qemu_opt_script += ' -display sdl,show-cursor=on' |
470 | elif arg == 'gtk': | 470 | elif arg == 'gtk': |
471 | if 'gl' in sys.argv[1:]: | 471 | if 'gl' in sys.argv[1:]: |
472 | self.set_dri_path() | 472 | self.set_dri_path() |
473 | self.qemu_opt_script += ' -vga virtio -display gtk,gl=on' | 473 | self.qemu_opt_script += ' -vga virtio -display gtk,gl=on,show-cursor=on' |
474 | elif 'gl-es' in sys.argv[1:]: | 474 | elif 'gl-es' in sys.argv[1:]: |
475 | self.set_dri_path() | 475 | self.set_dri_path() |
476 | self.qemu_opt_script += ' -vga virtio -display gtk,gl=es' | 476 | self.qemu_opt_script += ' -vga virtio -display gtk,gl=es,show-cursor=on' |
477 | else: | 477 | else: |
478 | self.qemu_opt_script += ' -display gtk' | 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 | pass |
482 | elif arg == 'egl-headless': | 482 | elif arg == 'egl-headless': |
483 | self.set_dri_path() | 483 | self.set_dri_path() |
484 | self.qemu_opt_script += ' -vga virtio -display egl-headless' | 484 | self.qemu_opt_script += ' -vga virtio -display egl-headless,show-cursor=on' |
485 | elif arg == 'serial': | 485 | elif arg == 'serial': |
486 | self.kernel_cmdline_script += ' console=ttyS0' | 486 | self.kernel_cmdline_script += ' console=ttyS0' |
487 | self.serialconsole = True | 487 | self.serialconsole = True |