qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [Bug 1216368] Re: unsupported screen resolution crashes sdl


From: T. Huth
Subject: [Qemu-devel] [Bug 1216368] Re: unsupported screen resolution crashes sdl-qemu
Date: Wed, 15 Jun 2016 09:30:41 -0000

Patch has been included here a while ago already:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=898ae2846de4dcb1
... so this ticket could now be marked as fixed.

** Changed in: qemu
       Status: New => Fix Released

-- 
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:
  Fix Released

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]