Bjørn Mork b6034a399e sdl: improve error message on fatal error
The SDL_SetVideoMode() error condition is easily triggered by a user by
simply configure a guest with a host unsupported display resolution
and attempting to enable fullscreen.  Since the error is fatal, adding
a bit of debugging help can't harm.

Sample output with this change:

 (qemu) Could not open SDL display (1280x1024x32): No video mode large enough for 1280x1024

The width x height might seem redundant as SDL also provides it in
SDL_GetError(), but I believe there are situations where it is
useful.  I.e. if there is some other SDL error.  Anyway, redundant
information in fatal error messages has never harmed a single gerbil.

Signed-off-by: Bjørn Mork <bjorn@mork.no>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
2010-03-17 10:41:38 -05:00
2010-03-13 14:18:50 +00:00
2010-03-06 23:02:47 +01:00
2010-01-13 17:14:16 -06:00
2010-03-05 21:45:16 -06:00
2010-03-09 08:47:27 -06:00
2010-03-05 21:45:16 -06:00
2010-03-17 02:44:41 +00:00
2010-03-17 02:44:41 +00:00
2010-03-17 02:44:41 +00:00
2010-03-17 02:44:41 +00:00
2010-03-17 02:44:41 +00:00
2010-03-17 02:44:41 +00:00
2010-03-17 02:44:41 +00:00
2010-03-17 02:44:41 +00:00
2010-03-17 02:44:41 +00:00
2010-03-17 02:44:41 +00:00
2010-01-08 09:58:40 -06:00
2010-03-06 23:09:28 +01:00
2010-02-10 11:57:03 -06:00
2010-02-14 16:10:53 +02:00
2010-02-07 02:03:50 +03:00
2009-12-18 11:26:27 -06:00
2010-02-19 15:18:16 -06:00
2010-03-09 08:47:20 -06:00
2010-03-12 23:25:52 +00:00
2010-03-17 02:44:41 +00:00
2010-03-12 17:23:50 +00:00
2010-03-06 23:15:30 +01:00
2010-03-01 04:39:50 +00:00
2009-12-05 17:36:00 +01:00
2010-03-17 02:44:41 +00:00
2010-03-17 02:44:41 +00:00
2009-12-17 18:12:04 +01:00
2010-03-09 08:47:20 -06:00
2010-02-10 12:47:58 -06:00
2010-03-06 23:15:30 +01:00
2010-03-06 23:15:30 +01:00
2010-03-04 00:29:28 -03:00
2010-02-06 19:24:42 +01:00
2010-01-08 09:58:40 -06:00
2010-01-08 09:58:40 -06:00
2010-02-07 02:03:50 +03:00
2010-02-07 02:03:50 +03:00
2010-02-07 02:03:50 +03:00
2010-02-07 02:03:50 +03:00
2010-03-16 17:01:08 +01:00
2009-12-03 09:41:29 -06:00
2009-12-25 18:19:15 +00:00
2010-03-13 14:18:50 +00:00
2010-02-03 12:36:25 -06:00
2010-03-09 11:23:00 -06:00
2010-01-26 15:42:02 -06:00
2010-02-23 22:36:19 +01:00
2010-02-10 12:46:06 -06:00
2010-02-09 16:56:13 -06:00
2010-03-17 10:41:05 -05:00
2010-03-17 10:41:05 -05:00
2010-02-10 13:46:17 -06:00
2010-01-26 15:42:01 -06:00
2010-01-08 16:55:03 -06:00
2010-03-14 22:04:50 +01:00
2010-03-09 08:47:27 -06:00

Read the documentation in qemu-doc.html.

Fabrice Bellard.
Description
No description provided
Readme 404 MiB
Languages
C 82.6%
C++ 6.5%
Python 3.4%
Dylan 2.9%
Shell 1.6%
Other 2.8%