summaryrefslogtreecommitdiffstats
path: root/hw/qxl.c
Commit message (Collapse)AuthorAgeFilesLines
* spice: drop obsolete iothread lockingGerd Hoffmann2011-05-031-8/+0
| | | | | | | | | We don't use qemu internals from spice server context any more. Thus we don't also need to grab the iothread mutex from spice server context. And we don't have to temporarely release the lock to avoid deadlocks. Drop all the calls. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* spice: don't call displaystate callbacks from spice server context.Gerd Hoffmann2011-05-031-0/+2
| | | | | | | | This patch moves the displaystate callback calls for setting the cursor and the mouse pointer from spice server to qemu (iothread) context. This allows us to simplify locking. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* spice: don't create updates in spice server context.Gerd Hoffmann2011-05-031-6/+11
| | | | | | | | | This patch moves the creation of spice screen updates from the spice server context to qemu iothread context (display refresh timer to be exact). This way we avoid accessing qemu internals (display surface) from spice thread context which in turn allows us to simplify locking. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* qxl: locking fixGerd Hoffmann2011-01-241-0/+2
| | | | | | | One spice worker call lacks the unlock/relock calls, which may lead to deadlocks, add them. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* spice/qxl: zap spice 0.4 migration compatibility bitsGerd Hoffmann2011-01-241-69/+10
| | | | | | | | | Live migration from and to spice 0.4 qxl devices isn't going to work. Rip out the bits which attempt to support that. Zap the subsection logic which is obsolete now. Bumb the version to make a clean cut. This should obviously go in before 0.14 is released. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
* qxl: tag as not hotpluggableGerd Hoffmann2011-01-101-0/+1
| | | | | Signed-off-by: Gerd Hoffmann <kraxel@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
* spice: add qxl deviceGerd Hoffmann2010-12-091-0/+1587
qxl is a paravirtual graphics card. The qxl device is the bridge between the guest and the spice server (aka libspice-server). The spice server will send the rendering commands to the spice client, which will actually render them. The spice server is also able to render locally, which is done in case the guest wants read something from video memory. Local rendering is also used to support display over vnc and sdl. qxl is activated using "-vga qxl". qxl supports multihead, additional cards can be added via '-device qxl". [ v2: add copyright to files ] [ v2: use qemu-common.h for standard includes ] [ v2: create separate qxl-vga device for primary ] Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
OpenPOWER on IntegriCloud