[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [6391] Fix nographic mode and VNC
From: |
Blue Swirl |
Subject: |
[Qemu-devel] [6391] Fix nographic mode and VNC |
Date: |
Wed, 21 Jan 2009 19:28:14 +0000 |
Revision: 6391
http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6391
Author: blueswir1
Date: 2009-01-21 19:28:13 +0000 (Wed, 21 Jan 2009)
Log Message:
-----------
Fix nographic mode and VNC
Modified Paths:
--------------
trunk/vl.c
Modified: trunk/vl.c
===================================================================
--- trunk/vl.c 2009-01-21 19:18:00 UTC (rev 6390)
+++ trunk/vl.c 2009-01-21 19:28:13 UTC (rev 6391)
@@ -263,6 +263,7 @@
static int64_t qemu_icount_bias;
static QEMUTimer *icount_rt_timer;
static QEMUTimer *icount_vm_timer;
+static QEMUTimer *nographic_timer;
uint8_t qemu_uuid[16];
@@ -3414,6 +3415,13 @@
qemu_mod_timer(ds->gui_timer, interval + qemu_get_clock(rt_clock));
}
+static void nographic_update(void *opaque)
+{
+ uint64_t interval = GUI_REFRESH_INTERVAL;
+
+ qemu_mod_timer(nographic_timer, interval + qemu_get_clock(rt_clock));
+}
+
struct vm_change_state_entry {
VMChangeStateHandler *cb;
void *opaque;
@@ -5600,6 +5608,11 @@
dcl = dcl->next;
}
+ if (nographic || (vnc_display && !sdl)) {
+ nographic_timer = qemu_new_timer(rt_clock, nographic_update, NULL);
+ qemu_mod_timer(nographic_timer, qemu_get_clock(rt_clock));
+ }
+
text_consoles_set_display(display_state);
if (monitor_device && monitor_hd)
- [Qemu-devel] [6391] Fix nographic mode and VNC,
Blue Swirl <=
- Re: [Qemu-devel] [6391] Fix nographic mode and VNC, Stefano Stabellini, 2009/01/21
- Re: [Qemu-devel] [6391] Fix nographic mode and VNC, Samuel Thibault, 2009/01/21
- Re: [Qemu-devel] [6391] Fix nographic mode and VNC, Blue Swirl, 2009/01/21
- Re: [Qemu-devel] [6391] Fix nographic mode and VNC, Samuel Thibault, 2009/01/21
- Re: [Qemu-devel] [6391] Fix nographic mode and VNC, Blue Swirl, 2009/01/21
- Re: [Qemu-devel] [6391] Fix nographic mode and VNC, Anthony Liguori, 2009/01/21
- Re: [Qemu-devel] [6391] Fix nographic mode and VNC, Paul Brook, 2009/01/21
- Re: [Qemu-devel] [6391] Fix nographic mode and VNC, Anthony Liguori, 2009/01/21