aboutsummaryrefslogtreecommitdiff
path: root/ui/spice-display.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2012-09-05 08:25:08 +0200
committerGerd Hoffmann <kraxel@redhat.com>2012-09-12 08:09:47 +0200
commitb1af98ba3e4c4fd44f233fc7240df2612baeb1c2 (patch)
treea27d0dcd69d09b40dcc6bd2c7bbee26cc0e2f06f /ui/spice-display.h
parente0a1e32dbc41e6b2aabb436a9417dfd32177a3dc (diff)
spice: switch to queue for vga mode updates
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'ui/spice-display.h')
-rw-r--r--ui/spice-display.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/spice-display.h b/ui/spice-display.h
index 512ab7831b..3fcb6fec25 100644
--- a/ui/spice-display.h
+++ b/ui/spice-display.h
@@ -92,7 +92,7 @@ struct SimpleSpiceDisplay {
* to them must be protected by the lock.
*/
QemuMutex lock;
- SimpleSpiceUpdate *update;
+ QTAILQ_HEAD(, SimpleSpiceUpdate) updates;
QEMUCursor *cursor;
int mouse_x, mouse_y;
};
@@ -102,6 +102,7 @@ struct SimpleSpiceUpdate {
QXLImage image;
QXLCommandExt ext;
uint8_t *bitmap;
+ QTAILQ_ENTRY(SimpleSpiceUpdate) next;
};
int qemu_spice_rect_is_empty(const QXLRect* r);