mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 08:13:54 -06:00
error message if user specifies SDL cmd line option when SDL is disabled
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
This commit is contained in:
parent
3264ff120c
commit
58fc096c76
2 changed files with 8 additions and 10 deletions
8
vl.c
8
vl.c
|
@ -2625,6 +2625,14 @@ int main(int argc, char **argv, char **envp)
|
|||
case QEMU_OPTION_sdl:
|
||||
display_type = DT_SDL;
|
||||
break;
|
||||
#else
|
||||
case QEMU_OPTION_no_frame:
|
||||
case QEMU_OPTION_alt_grab:
|
||||
case QEMU_OPTION_ctrl_grab:
|
||||
case QEMU_OPTION_no_quit:
|
||||
case QEMU_OPTION_sdl:
|
||||
fprintf(stderr, "SDL support is disabled\n");
|
||||
exit(1);
|
||||
#endif
|
||||
case QEMU_OPTION_pidfile:
|
||||
pid_file = optarg;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue