summaryrefslogtreecommitdiff
path: root/hw/display/qxl.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2013-10-29 13:29:43 +0100
committerGerd Hoffmann <kraxel@redhat.com>2013-11-04 12:31:42 +0100
commit4a46c99c8118586f19894fe66fc6e353f159d4d9 (patch)
treebc99954b360c59fe2ab1d27a035fe5c2b58c8046 /hw/display/qxl.h
parenta126050a103c924b03388a9a64ce9af8c96b0969 (diff)
qxl: replace pipe signaling with bottom half
qxl creates a pipe, then writes something to it to wake up the iothread from the spice server thread to raise an irq. These days qemu bottom halves can be scheduled from threads and signals, so there is no reason to do this any more. Time to clean it up. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'hw/display/qxl.h')
-rw-r--r--hw/display/qxl.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/hw/display/qxl.h b/hw/display/qxl.h
index 84f0182383..c5de3d7075 100644
--- a/hw/display/qxl.h
+++ b/hw/display/qxl.h
@@ -81,8 +81,7 @@ typedef struct PCIQXLDevice {
QemuMutex track_lock;
/* thread signaling */
- QemuThread main;
- int pipe[2];
+ QEMUBH *update_irq;
/* ram pci bar */
QXLRam *ram;