[Spice-commits] Changes to 'rebase/spice-next'

Gerd Hoffmann kraxel at kemper.freedesktop.org
Tue Sep 11 01:49:21 PDT 2012


New branch 'rebase/spice-next' available with the following commits:
commit 0d1991a96ac66028bf4692e4507361c7725b8bdc
Author: Hans de Goede <hdegoede at redhat.com>
Date:   Fri Sep 7 21:48:22 2012 +0200

    qxl: Ignore set_client_capabilities pre/post migrate
    
    The recent introduction of set_client_capabilities has broken
    (seamless) migration by trying to call qxl_send_events pre (seamless
    incoming) and post (*) migration, triggering the following assert:
    qxl_send_events: Assertion `qemu_spice_display_is_running(&d->ssd)' failed.
    
    The solution is easy, pre migration the guest will have already received
    the client caps on the migration source side, and post migration there no
    longer is a guest, so we can simply ignore the set_client_capabilities call
    in both those scenarios.
    
    *) Post migration, so not fatal for to the migration itself, but still a crash
    
    Signed-off-by: Hans de Goede <hdegoede at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 98bf8ae39eaddfea2012a46f1408033b7f14fff5
Author: Dunrong Huang <riegamaths at gmail.com>
Date:   Fri Aug 31 00:44:44 2012 +0800

    qxl: dont update invalid area
    
    This patch fixes the following error:
    
    $ ~/usr/bin/qemu-system-x86_64 -enable-kvm -m 1024 -spice port=5900,disable-ticketing -vga qxl -cdrom ~/Images/linuxmint-13-mate-dvd-32bit.iso
    (/home/mathslinux/usr/bin/qemu-system-x86_64:10068): SpiceWorker-CRITICAL **: red_worker.c:4599:red_update_area: condition `area->left >= 0 && area->top >= 0 && area->left < area->right && area->top < area->bottom' failed
    Aborted
    
    spice server terminates QEMU process if we pass invalid area to it,
    so dont update those invalid areas.
    
    Signed-off-by: Dunrong Huang <riegamaths at gmail.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 7fdb370fcabbc90af5512671addca44af54d6259
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Sep 5 10:41:42 2012 +0200

    spice: send updates only for changed screen content
    
    when creating screen updates go compare the current guest screen
    against the mirror (which holds the most recent update sent), then
    only create updates for the screen areas which did actually change.
    
    [ v2: drop redundant qemu_spice_create_one_update call ]
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 2ffcbfda6538d44f9c917811c33f534693b1997b
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Sep 5 09:35:57 2012 +0200

    spice: add screen mirror
    
    Create a screen mirror, keep there a copy of the most recent update
    passed on to spice-server.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 2a0437dddcaf4895eff6b2c3471f099df784647f
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Sep 5 08:52:23 2012 +0200

    spice: split qemu_spice_create_update
    
    Creating one function which creates a single update for a given
    rectangle.  And one (for now) pretty simple wrapper around it to
    queue up screen updates for the dirty region.
    
    [ v2: also update bounding box ]
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 8c08cdde0b6ff6e3c195695c041880f259e22880
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Wed Sep 5 08:25:08 2012 +0200

    spice: switch to queue for vga mode updates
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>



More information about the Spice-commits mailing list