1. 29 2月, 2012 1 次提交
    • G
      qxl: add optinal 64bit vram bar · 6f2b175a
      Gerd Hoffmann 提交于
      This patch adds an 64bit pci bar for vram.  It is turned off by default.
      It can be enabled by setting the size of the 64bit bar to be larger than
      the 32bit bar.  Both 32bit and 64bit bar refer to the same memory.  Only
      the first part of the memory is available via 32bit bar.
      
      The intention is to allow large vram sizes for 64bit guests, by allowing
      the vram bar being mapped above 4G, so we don't have to squeeze it into
      the pci I/O window below 4G.
      
      With vram_size_mb=16 and vram64_size_mb=256 it looks like this:
      
      00:02.0 VGA compatible controller: Red Hat, Inc. Device 0100 (rev 02) (prog-if 00 [VGA controller])
              Subsystem: Red Hat, Inc Device 1100
              Physical Slot: 2
              Flags: fast devsel, IRQ 10
              Memory at f8000000 (32-bit, non-prefetchable) [size=64M]
              Memory at fc000000 (32-bit, non-prefetchable) [size=16M]
              Memory at fd020000 (32-bit, non-prefetchable) [size=8K]
              I/O ports at c5a0 [size=32]
              Memory at ffe0000000 (64-bit, prefetchable) [size=256M]
              Expansion ROM at fd000000 [disabled] [size=64K]
      
      [ mapping above 4G needs patched seabios:
        http://www.kraxel.org/cgit/seabios/commit/?h=pci64 ]
      6f2b175a
  2. 27 2月, 2012 5 次提交
  3. 21 2月, 2012 1 次提交
  4. 01 11月, 2011 1 次提交
    • G
      qxl: stride fixup · 0e2487bd
      Gerd Hoffmann 提交于
      spice uses negative stride value to signal the bitmap is upside down.
      The qxl renderer (used for scl, vnc and screenshots) wants a positive
      value because it is easier to work with.  The positive value is then
      stored in the very same variable, which has the drawback that the
      upside-down test works only once.  Fix by using two variables.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      0e2487bd
  5. 25 10月, 2011 1 次提交
  6. 08 8月, 2011 1 次提交
  7. 03 8月, 2011 2 次提交
    • G
      qxl: bump pci rev · 9197a7c8
      Gerd Hoffmann 提交于
      Inform guest drivers about the new features I/O commands we have
      now (async commands, S3 support) if building with newer spice, i.e.
      if SPICE_INTERFACE_QXL_MINOR >= 1.
      
      sneaked in some 81+ column line spliting.
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      Signed-off-by: NAlon Levy <alevy@redhat.com>
      9197a7c8
    • 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
  8. 01 8月, 2011 4 次提交
  9. 24 1月, 2011 1 次提交
  10. 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