1. 16 5月, 2013 1 次提交
  2. 15 5月, 2013 9 次提交
  3. 14 5月, 2013 10 次提交
  4. 13 5月, 2013 10 次提交
  5. 12 5月, 2013 7 次提交
  6. 11 5月, 2013 1 次提交
  7. 09 5月, 2013 2 次提交
    • A
      tcg/optimize: fix setcond2 optimization · 66e61b55
      Aurelien Jarno 提交于
      When setcond2 is rewritten into setcond, the state of the destination
      temp should be reset, so that a copy of the previous value is not
      used instead of the result.
      Reported-by: NMichael Tokarev <mjt@tls.msk.ru>
      Reviewed-by: NRichard Henderson <rth@twiddle.net>
      Signed-off-by: NAurelien Jarno <aurelien@aurel32.net>
      66e61b55
    • H
      qxl: Call spice_qxl_driver_unload from qxl_enter_vga_mode · 0a2b5e3a
      Hans de Goede 提交于
      With a SPICE_DISPLAY_CAP_MONITORS_CONFIG capable client, the client needs to
      know what part of the primary to use for each monitor. If the guest driver
      does not support this, the server sends messages to the client for a
      single monitor spanning the entire primary.
      
      As soon as the guest calls spice_qxl_monitors_config_async once, the server
      sets the red_worker driver_has_monitors_config flag and stops doing this.
      
      This is a problem when the driver gets unloaded, for example after a reboot
      or when switching to a text vc with usermode mode-setting under Linux.
      
      To reproduce this start a multi-mon capable Linux guest which uses
      usermode mode-setting and then once X has started switch to a text vc. Note
      how the client window does not only not resize, if you try to resize it
      manually you always keep blackborders since the aspect is wrong.
      
      This patch calls a new spice-server method called spice_qxl_driver_unload
      which clears the driver_has_monitors_config flag inside the server, thereby
      fixing this.
      Signed-off-by: NHans de Goede <hdegoede@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      0a2b5e3a