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

Gerd Hoffmann kraxel at kemper.freedesktop.org
Tue Sep 4 07:51:47 PDT 2012


New branch 'rebase/spice-next' available with the following commits:
commit b001b2688c4e7c2fedbe1a2c616f5d2d3faffcaa
Author: Søren Sandmann Pedersen <ssp at redhat.com>
Date:   Tue Sep 4 10:14:49 2012 -0400

    Remove #ifdef QXL_COMMAND_FLAG_COMPAT_16BPP
    
    We require spice >= 0.8 now, so this flag is always present.
    
    Signed-off-by: Soren Sandmann <ssp at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 3b4763d2d704d78fc6889fa6af20b55a3ea3b922
Author: Søren Sandmann Pedersen <ssp at redhat.com>
Date:   Tue Sep 4 10:14:48 2012 -0400

    qxl: Add set_client_capabilities() interface to QXLInterface
    
    This new interface lets spice server inform the guest whether
    
    (a) a client is connected
    (b) what capabilities the client has
    
    There is a fixed number (464) of bits reserved for capabilities, and
    when the capabilities bits change, the QXL_INTERRUPT_CLIENT interrupt
    is generated.
    
    Signed-off-by: Soren Sandmann <ssp at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 6d1659d15e4346f66d9c7b0f013287c15f90897d
Author: Gerd Hoffmann <kraxel at redhat.com>
Date:   Tue Sep 4 11:39:41 2012 +0200

    spice: make number of surfaces runtime-configurable.
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit e1755b4a5166d4375b2bb949627ce46b4edcb98e
Author: Alon Levy <alevy at redhat.com>
Date:   Wed Aug 22 11:16:26 2012 +0300

    configure: print spice-protocol and spice-server versions
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 2c440903adb8d2171b154b9ceec419105aca04b8
Author: Alon Levy <alevy at redhat.com>
Date:   Wed Aug 22 11:16:25 2012 +0300

    qxl: add QXL_IO_MONITORS_CONFIG_ASYNC
    
    Revision bumped to 4 for new IO support, enabled for spice-server >=
    0.11.1. New io enabled if revision is 4. Revision can be set to 4.
    
    [ kraxel: 3 continues to be the default revision.  Once we have a new
              stable spice-server release and the qemu patches to enable
              the new bits merged we'll go flip the switch and make rev4
              the default ]
    
    This io calls the corresponding new spice api
    spice_qxl_monitors_config_async to let spice-server read a new guest set
    monitors config and notify the client.
    
    On migration reissue spice_qxl_monitors_config_async.
    
    RHBZ: 770842
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>
    
    fixup
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit c7d76427c634a03a1cb5e14240e66f23a7fd3f89
Author: Alon Levy <alevy at redhat.com>
Date:   Tue Aug 21 13:51:32 2012 +0300

    qxl: disallow unknown revisions
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit f10469a000bdbc0fbce9966327229d87c387a3ac
Author: Alon Levy <alevy at redhat.com>
Date:   Tue Aug 21 13:51:31 2012 +0300

    qxl/update_area_io: guest_bug on invalid parameters
    
    Signed-off-by: Alon Levy <alevy at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 9fa116d0ecfaa0ec6dc03c6b34d6063de75e0316
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Tue Aug 21 13:54:20 2012 +0300

    spice: increase the verbosity of spice section in "qemu --help"
    
    Added all spice options to the help string. This can be used by libvirt
    to determine which spice related features are supported by qemu.
    
    Signed-off-by: Yonit Halperin <yhalperi at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 6828229a3be88de945dffd357fa3d7ee89677922
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Tue Aug 21 11:51:59 2012 +0300

    spice: adding seamless-migration option to the command line
    
    The seamless-migration flag is required in order to identify
    whether libvirt supports the new QEVENT_SPICE_MIGRATE_COMPLETED or not
    (by default the flag is off).
    New libvirt versions that wait for QEVENT_SPICE_MIGRATE_COMPLETED should turn on this flag.
    When this flag is off, spice fallbacks to its old migration method, which
    can result in data loss.
    
    Signed-off-by: Yonit Halperin <yhalperi at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit b714bd029978d419718958199d57317833115e36
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Tue Aug 21 11:51:58 2012 +0300

    spice: add 'migrated' flag to spice info
    
    The flag is 'true' when spice migration has completed on the src side.
    It is needed for a case where libvirt dies before migration completes
    and it misses the event QEVENT_SPICE_MIGRATE_COMPLETED.
    When libvirt is restored and queries the migration status, it also needs
    to query spice and check if its migration has completed.
    
    Signed-off-by: Yonit Halperin <yhalperi at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit bacb303fe6c05fda6695b62a3d47cb6a49c21c85
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Tue Aug 21 11:51:57 2012 +0300

    spice migration: add QEVENT_SPICE_MIGRATE_COMPLETED
    
    When migrating, libvirt queries the migration status, and upon migration
    completions, it closes the migration src. On the other hand, when
    migration is completed, spice transfers data from the src to destination
    via the client. This data is required for keeping the spice session
    after migration, without suffering from data loss and inconsistencies.
    In order to allow this data transfer, we add QEVENT for signaling
    libvirt that spice migration has completed, and libvirt needs to wait
    for this event before quitting the src process.
    
    Signed-off-by: Yonit Halperin <yhalperi at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 71f4815b7f0f2738fb8d123a8b5f8bdcc433b725
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Tue Aug 21 11:51:56 2012 +0300

    spice: notify on vm state change only via spice_server_vm_start/stop
    
    QXLWorker->start/stop are deprecated since spice-server 0.11.2
    
    Signed-off-by: Yonit Halperin <yhalperi at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 936464294dec0722315cf6b0a371424a1b0770a1
Author: Yonit Halperin <yhalperi at redhat.com>
Date:   Tue Aug 21 11:51:55 2012 +0300

    spice: notify spice server on vm start/stop
    
    Spice server needs to know about the vm state in order to prevent
    attempts to write to devices when they are stopped, mainly during
    the non-live stage of migration.
    Instead, spice will take care of restoring this writes, on the migration
    target side, after migration completes.
    
    Signed-off-by: Yonit Halperin <yhalperi at redhat.com>
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>

commit 5fec01a03774458da2c3ef178261ad6109a51e51
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Mon Aug 13 10:32:32 2012 +0200

    spice: abort on invalid streaming cmdline params
    
    When parsing its command line parameters, spice aborts when it
    finds unexpected values, except for the 'streaming-video' option.
    This happens because the parsing of the parameters for this option
    is done using the 'name2enum' helper, which does not error out
    on unknown values. Using the 'parse_name' helper makes sure we
    error out in this case. Looking at git history, the use of
    'name2enum' instead of 'parse_name' seems to have been an oversight,
    so let's change to that now.
    
    Fixes rhbz#831708
    
    Signed-off-by: Gerd Hoffmann <kraxel at redhat.com>



More information about the Spice-commits mailing list