1. 26 4月, 2013 1 次提交
  2. 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
  3. 18 3月, 2013 6 次提交
  4. 19 12月, 2012 4 次提交
  5. 21 11月, 2012 1 次提交
  6. 05 11月, 2012 2 次提交
  7. 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
  8. 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
  9. 14 9月, 2012 1 次提交
  10. 12 9月, 2012 4 次提交
  11. 05 9月, 2012 2 次提交
  12. 22 6月, 2012 1 次提交
  13. 07 4月, 2012 1 次提交
  14. 22 3月, 2012 2 次提交
  15. 19 3月, 2012 1 次提交
  16. 27 2月, 2012 3 次提交
  17. 21 9月, 2011 1 次提交
  18. 16 9月, 2011 1 次提交
    • L
      Replace the VMSTOP macros with a proper state type · 1dfb4dd9
      Luiz Capitulino 提交于
      Today, when notifying a VM state change with vm_state_notify(),
      we pass a VMSTOP macro as the 'reason' argument. This is not ideal
      because the VMSTOP macros tell why qemu stopped and not exactly
      what the current VM state is.
      
      One example to demonstrate this problem is that vm_start() calls
      vm_state_notify() with reason=0, which turns out to be VMSTOP_USER.
      
      This commit fixes that by replacing the VMSTOP macros with a proper
      state type called RunState.
      Signed-off-by: NLuiz Capitulino <lcapitulino@redhat.com>
      1dfb4dd9
  19. 07 9月, 2011 1 次提交
  20. 21 8月, 2011 1 次提交
  21. 03 8月, 2011 1 次提交
    • A
      qxl: async io support using new spice api · 5ff4e36c
      Alon Levy 提交于
      Some of the QXL port i/o commands are waiting for the spice server to
      complete certain actions.  Add async versions for these commands, so we
      don't block the vcpu while the spice server processses the command.
      Instead the qxl device will raise an IRQ when done.
      
      The async command processing relies on an added QXLInterface::async_complete
      and added QXLWorker::*_async additions, in spice server qxl >= 3.1
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAlon Levy     <alevy@redhat.com>
      5ff4e36c
  22. 01 8月, 2011 1 次提交