[Spice-commits] Changes to 'rebase/spice-next'
Gerd Hoffmann
kraxel at kemper.freedesktop.org
Wed Sep 5 22:40:14 PDT 2012
New branch 'rebase/spice-next' available with the following commits:
commit b4fb91c50ead6397befb34db12ce6c0b63c0b421
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 459523d84eeba426f951cfd1a80628876637501c
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 f4f8ecf6d5e68eea2a3fdbaef37c0e3df4f25ed1
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 cc66cb8ab0c4f796060a0baee98a4e8eb9a50248
Author: Gerd Hoffmann <kraxel at redhat.com>
Date: Wed Sep 5 08:25:08 2012 +0200
spice: switch to queue for vga mode updates
commit 265db734901df7d8f24796ad7c43923249651289
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 c10018d6c77c94a8c703b9e4f026da74cad73d9e
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 ddd8fdc78ee30fc445e3d1f5bd2056acfcdefe47
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 2e0e3c399aa8067148055b9ea0edb822c5b584d2
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 020af1c45fec664d5d4cf3b8e5117f8bc1d691f2
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 36839d355e4ffc77d8f937caa6bb4c5530b9237e
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 511b13e2c9b426b3c56060909693de5097f0b496
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 27af778828db9aa893fa1de928744141e5de20e5
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 8c9570530c819821b9b5cc3113d2b2966afe7621
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 61c4efe2cb85b0a9c6bc68f6a2dd107c8d7ec080
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 2fdd16e239c2a2763aa3266e637718123328688c
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 71d388d420e68ac77cd42f15f7e68cf5a6fb01b2
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 f5bb039c6d97ef3e664094eab3c9a4dc1824ed73
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 835cab85ad83ed8dfe1c13243aeda5959b153e3e
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