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

Gerd Hoffmann kraxel at kemper.freedesktop.org
Mon Sep 10 06:34:35 PDT 2012


New branch 'rebase/spice-next' available with the following commits:
commit a43a326e0aba71f458999ede7580e0f644e8744d
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 85e2f21b23fa948f7edde7c0b8095457b02a9a15
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 e7d868855509c033824c7d11943d46c0f1134102
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 6de5fb8aacb4647008182f11c6f5fbc9bc591947
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 e77059d4999c313e4e954d1bc7abf19f8619540f
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 649e98f07821a5fbc25cdf44982735c9625cb3a1
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