1. 16 4月, 2013 3 次提交
    • G
      console: add GraphicHwOps · 380cd056
      Gerd Hoffmann 提交于
      Pass a single GraphicHwOps struct pointer to graphic_console_init,
      instead of a bunch of function pointers.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      380cd056
    • G
      console: simplify screendump · 2c62f08d
      Gerd Hoffmann 提交于
      Screendumps are alot simpler as we can update non-active
      QemuConsoles now.  So we only need to update the QemuConsole
      we want write out, then dump the DisplaySurface content into
      a ppm file.  Done.
      
      No console switching needed.  No special support code in the
      gfx card emulation needed.  Zap it all.  Also move ppm_save
      out of the vga code and next to the qmp_screendump function.
      
      For now screen dumping is limited to console #0 (like it used
      to be), even though it is dead simple to extend it to other
      consoles.  I wanna finish the console cleanup before setting
      new qapi interfaces into stone.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Tested-by: NIgor Mitsyanko <i.mitsyanko@gmail.com>
      2c62f08d
    • 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
  2. 09 4月, 2013 1 次提交
  3. 18 3月, 2013 1 次提交
  4. 19 12月, 2012 3 次提交
  5. 03 11月, 2012 1 次提交
  6. 01 11月, 2012 1 次提交
    • G
      vga: fix text mode updating · 9678aedd
      Gerd Hoffmann 提交于
      With both text (curses) and graphics (vnc/sdl/spice/...) display active
      vga text mode emulation fails to update both correctly.  Depending on
      whenever vga_update_text() or vga_draw_text() happens to be called first
      only the text display or only the graphics display will see display
      resolution changes and full redraws.
      
      Fix it by calling both text/gfx resize functions in both code paths and
      keep track of full screen redraws needed in VGACommonState fields.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      9678aedd
  7. 23 10月, 2012 1 次提交
    • A
      Rename target_phys_addr_t to hwaddr · a8170e5e
      Avi Kivity 提交于
      target_phys_addr_t is unwieldly, violates the C standard (_t suffixes are
      reserved) and its purpose doesn't match the name (most target_phys_addr_t
      addresses are not target specific).  Replace it with a finger-friendly,
      standards conformant hwaddr.
      
      Outstanding patchsets can be fixed up with the command
      
        git rebase -i --exec 'find -name "*.[ch]"
                              | xargs s/target_phys_addr_t/hwaddr/g' origin
      Signed-off-by: NAvi Kivity <avi@redhat.com>
      Signed-off-by: NAnthony Liguori <aliguori@us.ibm.com>
      a8170e5e
  8. 20 10月, 2012 2 次提交
  9. 06 9月, 2012 1 次提交
  10. 14 7月, 2012 1 次提交
  11. 22 6月, 2012 2 次提交
    • G
      vga: make vram size configurable · 4a1e244e
      Gerd Hoffmann 提交于
      Zap the global VGA_RAM_SIZE #define, make the vga ram size configurable
      for standard vga and vmware vga.  cirrus and qxl are left with a fixed
      size (and private VGA_RAM_SIZE #define) for now.
      
      qxl needs some non-trivial adjustments in the mode list handling deal
      with a runtime-configurable size, which calls for a separate qxl patch.
      
      cirrus emulates cards which have 2 MB (isa) and 4 MB (pci), so I guess
      it would make sense to use these sizes.  That change would break
      migration though, so I left it fixed at 8 MB size.  Making it
      configurabls is pretty pointless for cirrus as we have to match real
      hardware.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      4a1e244e
    • G
      vga: raise xres+yres limits · e9c6149f
      Gerd Hoffmann 提交于
      The vgabios will check whenever any given video mode will fit into the
      given video memory before adding it to the list of available modes, so
      there is no need to keep xmax * ymax * 32bpp lower than VGA_RAM_SIZE.
      
      Lets raise the limits a bit.  Should be good for a few years, display
      sizes are not growing that fast.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      e9c6149f
  12. 30 5月, 2012 1 次提交
  13. 04 2月, 2012 2 次提交
  14. 11 10月, 2011 1 次提交
  15. 23 8月, 2011 3 次提交
  16. 22 8月, 2011 1 次提交
  17. 08 8月, 2011 2 次提交
  18. 24 7月, 2011 1 次提交
  19. 20 2月, 2011 1 次提交
  20. 09 12月, 2010 1 次提交
    • G
      spice: add qxl device · a19cbfb3
      Gerd Hoffmann 提交于
      qxl is a paravirtual graphics card.  The qxl device is the bridge
      between the guest and the spice server (aka libspice-server).  The
      spice server will send the rendering commands to the spice client, which
      will actually render them.
      
      The spice server is also able to render locally, which is done in case
      the guest wants read something from video memory.  Local rendering is
      also used to support display over vnc and sdl.
      
      qxl is activated using "-vga qxl".  qxl supports multihead, additional
      cards can be added via '-device qxl".
      
      [ v2: add copyright to files                     ]
      [ v2: use qemu-common.h for standard includes    ]
      [ v2: create separate qxl-vga device for primary ]
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      a19cbfb3
  21. 16 11月, 2010 1 次提交
  22. 08 4月, 2010 1 次提交
  23. 19 12月, 2009 2 次提交
  24. 28 11月, 2009 1 次提交
  25. 30 10月, 2009 1 次提交
  26. 28 10月, 2009 3 次提交
  27. 02 10月, 2009 1 次提交