summaryrefslogtreecommitdiffstats
path: root/include/char
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2013-03-05 23:21:27 +0530
committerAnthony Liguori <aliguori@us.ibm.com>2013-03-08 13:57:15 -0600
commit9f939df955a4152aad69a19a77e0898631bb2c18 (patch)
treee8c0a3e63a8eb4f45148b62c22382b94de5eeffb /include/char
parent8aa33cafc41a0fe8549d1dbcc65b75c31112dea8 (diff)
downloadhqemu-9f939df955a4152aad69a19a77e0898631bb2c18.zip
hqemu-9f939df955a4152aad69a19a77e0898631bb2c18.tar.gz
qemu-char: remove use of QEMUTimer in favor of glib idle function
qemu-char is now independent of the QEMU main loop. Signed-off-by: Anthony Liguori <aliguori@us.ibm.com> Signed-off-by: Amit Shah <amit.shah@redhat.com> Message-id: 3cda0bbcfb94912df8a767983a52bb71a4a3231d.1362505276.git.amit.shah@redhat.com Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'include/char')
-rw-r--r--include/char/char.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/char/char.h b/include/char/char.h
index 09ac401..e8b781c 100644
--- a/include/char/char.h
+++ b/include/char/char.h
@@ -71,7 +71,7 @@ struct CharDriverState {
void (*chr_guest_open)(struct CharDriverState *chr);
void (*chr_guest_close)(struct CharDriverState *chr);
void *opaque;
- QEMUTimer *open_timer;
+ int idle_tag;
char *label;
char *filename;
int opened;
OpenPOWER on IntegriCloud