Received: from eggs.gnu.org ([2001:4830:134:3::10]:39404) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE8fA-0007XT-2L for qemu-devel@nongnu.org; Mon, 26 Aug 2013 22:05:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VE8f2-0002Ue-Qc for qemu-devel@nongnu.org; Mon, 26 Aug 2013 22:05:44 -0400 Received: from indium.canonical.com ([91.189.90.7]:35870) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VE8f2-0002UM-Lg for qemu-devel@nongnu.org; Mon, 26 Aug 2013 22:05:36 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.71 #1 (Debian)) id 1VE8f1-0008NW-85 for ; Tue, 27 Aug 2013 02:05:35 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 3563E2E808C for ; Tue, 27 Aug 2013 02:05:35 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Tue, 27 Aug 2013 01:55:56 -0000 From: Lei Li Sender: bounces@canonical.com References: <20130824172630.17668.57102.malonedeb@gac.canonical.com> Message-Id: <20130827015556.32229.83936.malone@wampee.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1216368] Re: unsupported screen resolution crashes sdl-qemu Reply-To: Bug 1216368 <1216368@bugs.launchpad.net> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Sorry, a little confusion what's the problem you want to solve? -- = 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 deskto= p 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 =3D SDL_SetVideoMode(width, height, bpp, flags); if (!tmp_screen) { // fprintf(stderr, "Could not open SDL display (%dx%dx%d): %s\n", wi= dth, = // height, bpp, SDL_GetError()); // exit(1); } else { real_screen =3D tmp_screen; } To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1216368/+subscriptions