[Spice-commits] Changes to 'spice.v49'

Gerd Hoffmann kraxel at kemper.freedesktop.org
Tue Feb 28 08:24:38 PST 2012


New branch 'spice.v49' available with the following commits:
commit e2efc0a3267811a2b9459116b2310325ef011f6e
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Mon Feb 27 11:05:09 2012 +0100

    qxl: properly handle upright and non-shared surfaces
    
    Although qxl creates a shared displaysurface when the qxl surface is
    upright and doesn't need to be flipped there is no guarantee that the
    surface doesn't become unshared for some reason.  Rename qxl_flip to
    qxl_blit and fix it to handle both flip and non-flip cases.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 35c633291439185d3bbf84da23db1572498e0d5d
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Feb 24 18:28:32 2012 +0100

    Error out when tls-channel option is used without TLS
    
    It's currently possible to setup spice channels using TLS when
    no TLS port has been specified (ie TLS is disabled). This cannot
    work, so better to error out in such a situation.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 339a475f50ae0df8d2e222e47f1264811d5f6bee
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Feb 24 18:13:12 2012 +0100

    spice: use error_report to report errors
    
    Error message reporting during spice startup wasn't consistent, it was done
    with fprintf(stderr, "") but sometimes the message didn't have a trailing
    \n. Using error_report make the intent of the message clearer and deal
    with the final \n for us.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 6f2b175a090f367c3aab2226c4741b439671307a
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Oct 14 18:05:48 2011 +0200

    qxl: add optinal 64bit vram bar
    
    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 ]

commit 81fb6f1504fb9ef71f2382f44af34756668296e8
Author: Alon Levy <alevy at redhat.com>
Date:   Fri Feb 24 23:19:31 2012 +0200

    qxl: make qxl_render_update async
    
    RHBZ# 747011
    
    Removes the last user of QXL_SYNC when using update drivers that use the
    _ASYNC io ports.
    
    The last user is qxl_render_update, it is called both by qxl_hw_update
    which is the vga_hw_update_ptr passed to graphic_console_init, and by
    qxl_hw_screen_dump.
    
    At the same time the QXLRect area being passed to the red_worker thread
    is passed as a copy, as part of the QXLCookie.
    
    The implementation uses interface_update_area_complete with a bh to make
    sure dpy_update and qxl_flip are called from the io thread, otherwise
    the vga->ds->surface.data can change under our feet.
    
    With this patch sdl+spice works fine. But spice by itself doesn't
    produce the expected screendumps unless repeated a few times, due to
    ppm_save being called before update_area (rendering done in spice server
    thread) having a chance to complete. Fixed by next patch, but see commit
    message for problem introduced by it.
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 2e1a98c9c1b90ca093278c6b43244dc46604d7b7
Author: Alon Levy <alevy at redhat.com>
Date:   Fri Feb 24 23:19:30 2012 +0200

    qxl: introduce QXLCookie
    
    Will be used in the next patch.
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 4c19ebb51dc0a59ff12d60844512816562a25047
Author: Alon Levy <alevy at redhat.com>
Date:   Fri Feb 24 23:19:29 2012 +0200

    qxl: remove flipped
    
    Tested on linux and windows guests. For negative stride, qxl_flip copies
    directly to vga->ds->surface->data, for positive it's reallocated to
    share qxl->guest_primary.data
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 4295e15aa730a95003a3639d6dad2eb1e65a59e2
Author: Alon Levy <alevy at redhat.com>
Date:   Fri Feb 24 23:19:28 2012 +0200

    qxl: require spice >= 0.8.2
    
    drop all ifdefs on SPICE_INTERFACE_QXL_MINOR >= 1 as a result,
    any check for SPICE_SERVER_VERSION that is now always satisfied,
    and SPICE_INTERFACE_CORE_MINOR >= 3 tests, because
    0.8.2 has SPICE_INTERFACE_QXL_MINOR == 1 and
    SPICE_INTERFACE_CORE_MINOR == 3.
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 45a4b48528aa20b602eb8c764d511fb1c4d6cab7
Author: Alon Levy <alevy at redhat.com>
Date:   Fri Feb 24 23:19:27 2012 +0200

    qxl: drop qxl_spice_update_area_async definition
    
    It was never used. Introduced in
    5ff4e36c804157bd84af43c139f8cd3a59722db9
    qxl: async io support using new spice api
    
    But not used even then.
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 63ea491d4efc1e02cda3d335db3a46c81adf14ee
Author: Alon Levy <alevy at redhat.com>
Date:   Fri Feb 24 23:19:26 2012 +0200

    sdl: remove NULL check, g_malloc0 can't fail
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit bb5a8cd5b0aec0286c5e749803083de22c2b0be6
Author: Alon Levy <alevy at redhat.com>
Date:   Fri Feb 24 23:19:25 2012 +0200

    qxl: fix spice+sdl no cursor regression
    
    regression introduced by 075360945860ad9bdd491921954b383bf762b0e5,
    
    v2: lock around qemu_spice_cursor_refresh_unlocked
    
    Reported-by: Fabiano Fidêncio <fabiano at fidencio.org>
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>



More information about the Spice-commits mailing list