1. 29 3月, 2012 1 次提交
  2. 28 3月, 2012 1 次提交
  3. 27 3月, 2012 9 次提交
  4. 26 3月, 2012 6 次提交
  5. 25 3月, 2012 14 次提交
  6. 24 3月, 2012 8 次提交
  7. 22 3月, 2012 1 次提交
    • A
      ui/spice-display: use uintptr_t when casting qxl physical addresses · a13ccc99
      Alon Levy 提交于
      The current intptr_t casts are a problem when the address's highest
      bit is 1, and it is cast to a intptr_t and then to uint64_t, such
      as at:
           surface.mem        = (intptr_t)ssd->buf;
      
      This causes the sign bit to be extended which causes a wrong address to
      be passed on to spice, which then complains when it gets the wrong
      slot_id number, since the slot_id is taken from the higher bits.
      
      The assertion happens early - during the first primary surface creation.
      
      This fixes running "-vga qxl -spice" with 32 bit compiled
      qemu-system-i386.
      Signed-off-by: NAlon Levy <alevy@redhat.com>
      Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
      a13ccc99