1. 19 1月, 2015 1 次提交
  2. 16 12月, 2014 2 次提交
  3. 05 9月, 2014 1 次提交
    • G
      spice: make sure we don't overflow ssd->buf · ab9509cc
      Gerd Hoffmann 提交于
      Related spice-only bug.  We have a fixed 16 MB buffer here, being
      presented to the spice-server as qxl video memory in case spice is
      used with a non-qxl card.  It's also used with qxl in vga mode.
      
      When using display resolutions requiring more than 16 MB of memory we
      are going to overflow that buffer.  In theory the guest can write,
      indirectly via spice-server.  The spice-server clears the memory after
      setting a new video mode though, triggering a segfault in the overflow
      case, so qemu crashes before the guest has a chance to do something
      evil.
      
      Fix that by switching to dynamic allocation for the buffer.
      
      CVE-2014-3615
      
      Cc: qemu-stable@nongnu.org
      Cc: secalert@redhat.com
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Reviewed-by: NLaszlo Ersek <lersek@redhat.com>
      ab9509cc
  4. 20 6月, 2014 1 次提交
  5. 13 6月, 2014 1 次提交
  6. 07 4月, 2014 1 次提交
  7. 10 3月, 2014 2 次提交
  8. 16 12月, 2013 1 次提交
  9. 17 10月, 2013 3 次提交
  10. 26 4月, 2013 1 次提交
  11. 16 4月, 2013 2 次提交
    • G
      console: allow pinning displaychangelisteners to consoles · 284d1c6b
      Gerd Hoffmann 提交于
      DisplayChangeListener gets a new QemuConsole field, which can be set to
      non-NULL before registering.  This will pin the QemuConsole, so that
      particular DisplayChangeListener will not follow console switches.
      
      spice+gtk (which don't support text console input anyway) are switched
      over to be pinned to console 0, which usually is the graphical display.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      284d1c6b
    • G
      console: rename vga_hw_*, add QemuConsole param · 1dbfa005
      Gerd Hoffmann 提交于
      Add QemuConsole parameter to vga_hw_*, so the interface allows to update
      non-active consoles (the actual code can't handle this yet, see next
      patch).  Passing NULL is allowed and updates the active console, like
      the functions do today.
      
      While touching all vga_hw_* calls anyway rename that to the functions to
      hardware-neutral graphics_hw_*
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      1dbfa005
  12. 18 3月, 2013 6 次提交
  13. 19 12月, 2012 4 次提交
  14. 21 11月, 2012 1 次提交
  15. 05 11月, 2012 2 次提交
  16. 01 11月, 2012 2 次提交
    • G
      console: untangle gfx & txt updates · a93a4a22
      Gerd Hoffmann 提交于
      Stop abusing displaysurface fields for text mode displays.
      (bpp = 0, width = cols, height = lines).
      
      Add flags to displaystate indicating whenever text mode display
      (curses) or gfx mode displays (sdl, vnc, ...) are present.
      
      Add separate displaychangelistener callbacks for text / gfx mode
      resize & updates.
      
      This allows to enable gfx and txt diplays at the same time and also
      paves the way for more cleanups in the future.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      a93a4a22
    • G
      console: move set_mouse + cursor_define callbacks · bf2fde70
      Gerd Hoffmann 提交于
      When adding DisplayChangeListeners the set_mouse and cursor_define
      callbacks have been left in DisplayState for some reason.  Fix it.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      bf2fde70
  17. 08 10月, 2012 1 次提交
    • G
      spice: raise requirement to 0.12 · 67be6726
      Gerd Hoffmann 提交于
      With the next qemu version (1.3) we are going to bump the qxl device
      revision to 4.  The new features available require a recent spice-server
      version, so raise up the bar.  Otherwise we would end up with different
      qxl revisions depending on the spice-server version installed, which
      would be a major PITA when it comes to compat properties.
      
      Clear out a big bunch of #ifdefs which are not needed any more.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      67be6726
  18. 14 9月, 2012 1 次提交
  19. 12 9月, 2012 4 次提交
  20. 05 9月, 2012 2 次提交
  21. 22 6月, 2012 1 次提交