[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1216368] [NEW] unsupported screen resolution crashes s
From: |
Sascha Krissler |
Subject: |
[Qemu-devel] [Bug 1216368] [NEW] unsupported screen resolution crashes sdl-qemu |
Date: |
Sat, 24 Aug 2013 17:26:30 -0000 |
Public bug reported:
if the (windows) guest sets a screen resolution that the SDL backend does not
support,
qemu does an exit(1).
with this fix, the the resolution is still wrong (only part of the desktop is
displayed),
but qemu keeps running and the guest can auto-revert the video mode:
ui/sdl.c:do_sdl_resize()
SDL_Surface * tmp_screen;
tmp_screen = SDL_SetVideoMode(width, height, bpp, flags);
if (!tmp_screen) {
// fprintf(stderr, "Could not open SDL display (%dx%dx%d): %s\n", width,
// height, bpp, SDL_GetError());
// exit(1);
} else {
real_screen = tmp_screen;
}
** Affects: qemu
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1216368
Title:
unsupported screen resolution crashes sdl-qemu
Status in QEMU:
New
Bug description:
if the (windows) guest sets a screen resolution that the SDL backend does not
support,
qemu does an exit(1).
with this fix, the the resolution is still wrong (only part of the desktop is
displayed),
but qemu keeps running and the guest can auto-revert the video mode:
ui/sdl.c:do_sdl_resize()
SDL_Surface * tmp_screen;
tmp_screen = SDL_SetVideoMode(width, height, bpp, flags);
if (!tmp_screen) {
// fprintf(stderr, "Could not open SDL display (%dx%dx%d): %s\n", width,
// height, bpp, SDL_GetError());
// exit(1);
} else {
real_screen = tmp_screen;
}
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1216368/+subscriptions
- [Qemu-devel] [PATCH 0/6] linux-user: Misc patches for linux container compatibility, Laurent Vivier, 2013/08/29
- [Qemu-devel] [PATCH 1/6] linux-user: convert /proc/net/route when endianess differs, Laurent Vivier, 2013/08/29
- [Qemu-devel] [PATCH 2/6] linux-user: Add setsockopt(SO_ATTACH_FILTER), Laurent Vivier, 2013/08/29
- [Qemu-devel] [PATCH 3/6] linux-user: allow use of TIOCGSID, Laurent Vivier, 2013/08/29
- [Qemu-devel] [PATCH 6/6] scripts: create a template to use with lxc-create, Laurent Vivier, 2013/08/29
- [Qemu-devel] [PATCH 4/6] linux-user: add some IPV6 commands in setsockop(), Laurent Vivier, 2013/08/29
- [Qemu-devel] [PATCH 5/6] linux-user: add support of binfmt_misc 'O' flag, Laurent Vivier, 2013/08/29