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

Gerd Hoffmann kraxel at kemper.freedesktop.org
Wed Sep 12 22:31:55 PDT 2012


New branch 'rebase/spice-next' available with the following commits:
commit a639ab0482952c13c896f3e555d717caf98f138b
Author: Alon Levy <alevy at redhat.com>
Date:   Wed Sep 12 16:13:28 2012 +0300

    hw/qxl: support client monitor configuration via device
    
    Until now we used only the agent to change the monitor count and each
    monitor resolution. This patch introduces the qemu part of using the
    device as the mediator instead of the agent via virtio-serial.
    
    Spice (>=0.11.5) calls the new QXLInterface::client_monitors_config,
    which returns wether the interrupt is enabled, and if so and given a non
    NULL monitors config will
    generate an interrupt QXL_INTERRUPT_CLIENT_MONITORS_CONFIG with crc
    checksum for the guest to verify a second call hasn't interfered.
    
    The maximal number of monitors is limited on the QXLRom to 64.
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 1a1bc08568b3fc3d893cab774806cdcedfe1b60b
Author: Alon Levy <alevy at redhat.com>
Date:   Wed Sep 12 16:13:27 2012 +0300

    qxl: add trace-event for QXL_IO_LOG
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 917ae08ca1565aab2d10c8b6269cd905d6c5c05b
Author: Alon Levy <alevy at redhat.com>
Date:   Wed Sep 12 16:13:26 2012 +0300

    hw/qxl: tracing fixes
    
    Add two new trace events:
    qxl_send_events(int qid, uint32_t events) "%d %d"
    qxl_set_guest_bug(int qid) "%d"
    
    Change qxl_io_unexpected_vga_mode parameters to be equivalent to those
    of qxl_io_write for easier grouping under a single systemtap probe.
    
    Change d to qxl in one place.
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 753b8b0d77ba1b343a35f9679cc777ea10a62bba
Author: Uri Lublin <uril at redhat.com>
Date:   Tue Sep 11 10:09:58 2012 +0300

    qxl: better cleanup for surface destroy
    
    Add back a call to qxl_spice_destroy_surface_wait_complete() in qxl_spice_destroy_surface_wait(),
    that was removed by commit c480bb7da465186b84d8427e068ef7502e47ffbf
    
    It is needed to complete surface-removal cleanup, for non async.
    For async, qxl_spice_destroy_surface_wait_complete is called upon operation completion.
    
    Signed-off-by: Uri Lublin <uril at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit ab902981cf4d46834d82eb095f2b9ab159e017bf
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 ccc2960d654a233a6ed415b37d8ff41728d817c5
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 b021bd29835b0367d499e042f76afbbf4b6ee026
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 a7310dd34df4d35a1c3e7ea3f4a94c60f6d5064b
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 c60319a3aa136769e38ea8b24e91fb4867c4587d
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 b1af98ba3e4c4fd44f233fc7240df2612baeb1c2
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