[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-commits] [qemu/qemu] b5e751: spice: init dcl before registering qx
From: |
GitHub |
Subject: |
[Qemu-commits] [qemu/qemu] b5e751: spice: init dcl before registering qxl interface |
Date: |
Tue, 23 Feb 2016 09:00:04 -0800 |
Branch: refs/heads/master
Home: https://github.com/qemu/qemu
Commit: b5e751b51f14cffada6be647aa576b79f1755d7e
https://github.com/qemu/qemu/commit/b5e751b51f14cffada6be647aa576b79f1755d7e
Author: Gerd Hoffmann <address@hidden>
Date: 2016-02-23 (Tue, 23 Feb 2016)
Changed paths:
M ui/spice-display.c
Log Message:
-----------
spice: init dcl before registering qxl interface
Without this spice might callback into qemu before ssd->dcl.con is
initialized, resulting in a segfault due to NULL pointer dereference.
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Commit: 014cb152b8219a2cd31ce6443f8708386ded751b
https://github.com/qemu/qemu/commit/014cb152b8219a2cd31ce6443f8708386ded751b
Author: Gerd Hoffmann <address@hidden>
Date: 2016-02-23 (Tue, 23 Feb 2016)
Changed paths:
M configure
Log Message:
-----------
configure: add dma-buf support detection.
Set CONFIG_OPENGL_DMABUF in case both mesa and libepoxy are
new enough to have support for dma-buf import/export.
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Commit: 1e3165980c352f90d0f1295bfc4fbfa31193b13f
https://github.com/qemu/qemu/commit/1e3165980c352f90d0f1295bfc4fbfa31193b13f
Author: Gerd Hoffmann <address@hidden>
Date: 2016-02-23 (Tue, 23 Feb 2016)
Changed paths:
M include/ui/egl-helpers.h
M ui/egl-helpers.c
Log Message:
-----------
egl-helpers: add functions for render nodes and dma-buf passing
Adds helpers to open a drm render node and create a opengl
context for it. Also add a helper to export a texture as
dma-buf.
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Commit: 58c7b618f3889f53308142403117d5ae24bda9bc
https://github.com/qemu/qemu/commit/58c7b618f3889f53308142403117d5ae24bda9bc
Author: Marc-André Lureau <address@hidden>
Date: 2016-02-23 (Tue, 23 Feb 2016)
Changed paths:
M ui/spice-display.c
Log Message:
-----------
spice: reset cursor on resize
Spice server will clear the cursor on resize. QXL driver reset it after
resize, however, virtio and other devices do not. Teach qemu to set it
back.
Signed-off-by: Marc-André Lureau <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 474114b7305cc1be7c2ee8ba5267be159a9d56e3
https://github.com/qemu/qemu/commit/474114b7305cc1be7c2ee8ba5267be159a9d56e3
Author: Gerd Hoffmann <address@hidden>
Date: 2016-02-23 (Tue, 23 Feb 2016)
Changed paths:
M include/ui/spice-display.h
M qemu-options.hx
M ui/spice-core.c
M ui/spice-display.c
Log Message:
-----------
spice: add opengl/virgl/dmabuf support
This adds support for dma-buf passing to spice. This makes virtio-gpu
with 3d acceleration work with spice.
Workflow:
* virglrenderer renders the guest command stream into a texture.
* qemu exports the texture as dma-buf and passes on that dma-buf
to spice-server.
* spice-server passes the dma-buf to spice-client, using unix
socket file descriptor passing.
* spice-client asks the window systems composer to render the
dma-buf to the screen.
Requires cutting edge spice (server) and spice-gtk (client) builds,
from git master branch.
Also requires libvirt managing your qemu instance, and using
"virt-viewer --attach $guest". libvirt will connect spice-server and
spice-client using unix sockets instead of tcp sockets then, which
is required for file descriptor passing.
Works for the local case (spice server and client on the same machine)
only. Supporting remote too is planned (by feeding the dma-bufs into
gpu-assisted video encoder), but not there yet.
gl mode is turned off by default, use "-spice gl=on,$otherargs" to
enable it.
Signed-off-by: Marc-André Lureau <address@hidden>
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 8e388e907b853ca42f5c8825042fa17b126d86de
https://github.com/qemu/qemu/commit/8e388e907b853ca42f5c8825042fa17b126d86de
Author: Gerd Hoffmann <address@hidden>
Date: 2016-02-23 (Tue, 23 Feb 2016)
Changed paths:
M include/ui/spice-display.h
M ui/spice-display.c
Log Message:
-----------
spice/gl: add unblock timer
Pure debug aid, print a warning in case unblocking
doesn't happen within one second.
Signed-off-by: Gerd Hoffmann <address@hidden>
Reviewed-by: Marc-André Lureau <address@hidden>
Commit: 22672a3798f1d705c2b1e14a246efd4a8e4bc661
https://github.com/qemu/qemu/commit/22672a3798f1d705c2b1e14a246efd4a8e4bc661
Author: Gerd Hoffmann <address@hidden>
Date: 2016-02-23 (Tue, 23 Feb 2016)
Changed paths:
M ui/spice-display.c
Log Message:
-----------
spice/gl: tweak debug messages.
Adjust message levels, make messages more verbose.
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: b82fc321bf02aaceea0beb4dfabb4ca86a9a5ff6
https://github.com/qemu/qemu/commit/b82fc321bf02aaceea0beb4dfabb4ca86a9a5ff6
Author: Dr. David Alan Gilbert <address@hidden>
Date: 2016-02-23 (Tue, 23 Feb 2016)
Changed paths:
M include/migration/migration.h
M migration/migration.c
M ui/spice-core.c
Log Message:
-----------
Postcopy+spice: Pass spice migration data earlier
Spice hooks the migration status changes to figure out when to
transmit information to the new spice server; but the migration
status in postcopy doesn't quite fit - the destination starts
running before the end of the source migration.
It's not a case of hanging off the migration status change to
postcopy-active either, since that happens before we stop the
guest CPU.
Fix it by sending a notify just after sending the device state,
and adding a flag that can be tested by the notify receiver.
Symptom:
spice handover doesn't work with the error:
red_worker.c:11540:display_channel_wait_for_migrate_data: timeout
Signed-off-by: Dr. David Alan Gilbert <address@hidden>
Reviewed-by: Amit Shah <address@hidden>
Message-id: address@hidden
Signed-off-by: Gerd Hoffmann <address@hidden>
Commit: 1b1624092d1f1f746adea6e1237a07f6788c2e3d
https://github.com/qemu/qemu/commit/1b1624092d1f1f746adea6e1237a07f6788c2e3d
Author: Peter Maydell <address@hidden>
Date: 2016-02-23 (Tue, 23 Feb 2016)
Changed paths:
M configure
M include/migration/migration.h
M include/ui/egl-helpers.h
M include/ui/spice-display.h
M migration/migration.c
M qemu-options.hx
M ui/egl-helpers.c
M ui/spice-core.c
M ui/spice-display.c
Log Message:
-----------
Merge remote-tracking branch 'remotes/spice/tags/pull-spice-20160223-1' into
staging
spice: initial opengl/virgl support, postcopy migration fix.
# gpg: Signature made Tue 23 Feb 2016 12:30:40 GMT using RSA key ID D3E87138
# gpg: Good signature from "Gerd Hoffmann (work) <address@hidden>"
# gpg: aka "Gerd Hoffmann <address@hidden>"
# gpg: aka "Gerd Hoffmann (private) <address@hidden>"
* remotes/spice/tags/pull-spice-20160223-1:
Postcopy+spice: Pass spice migration data earlier
spice/gl: tweak debug messages.
spice/gl: add unblock timer
spice: add opengl/virgl/dmabuf support
spice: reset cursor on resize
egl-helpers: add functions for render nodes and dma-buf passing
configure: add dma-buf support detection.
spice: init dcl before registering qxl interface
Signed-off-by: Peter Maydell <address@hidden>
Compare: https://github.com/qemu/qemu/compare/3174c64bb714...1b1624092d1f
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Qemu-commits] [qemu/qemu] b5e751: spice: init dcl before registering qxl interface,
GitHub <=