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

Gerd Hoffmann kraxel at kemper.freedesktop.org
Tue Nov 1 05:35:34 PDT 2011


New branch 'spice.v46' available with the following commits:
commit 54825d2e39b0a809332b5fee837f456d5d9befee
Author: Alon Levy <alevy at redhat.com>
Date:   Tue Oct 25 15:39:50 2011 +0200

    qxl: create slots on post_load in vga state
    
    RHBZ 740547
    
    If we migrate when the device is in vga state the guest
    still believes the slots are created, and will cause operations
    that reference the slots, causing a "panic: virtual address out of range"
    on the first of them. Easy to see by migrating in vga mode with
    a driver loaded, for instance windows cmd window in full screen mode,
    and then exiting vga mode back to native mode will cause said panic.
    
    Fixed by doing the slot recreation in post_load for vga mode as well.
    Note that compat does not require any changes because it creates it's
    only slot by a side effect of QXL_IO_SET_MODE.
    
    Signed-off-by: Alon Levy <alevy at redhat.com>

commit a053f1b1fb63cb57483354db7b154e9a2e585b5a
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Oct 21 21:53:54 2011 +0200

    qxl: make sure we continue to run with a shared buffer
    
    The qxl renderer works only with a shared displaysurface.  So better
    make sure we actually have one and restore it when needed.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 0e2487bd6f56445b43307536a465ee2ba810aed9
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Fri Oct 21 15:59:07 2011 +0200

    qxl: stride fixup
    
    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: Gerd Hoffmann <kraxel at redhat.com>



More information about the Spice-commits mailing list