[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [Bug] Fix for QEMU 0.8.1 Window Freeze



We had trouble with the latest QEMU 0.8.1 tree
(http://xenbits.xensource.com/chris/xs-tools-ioemu.pq.hg). Basically,
QEMU window appeared but freezed immediately. This happened to both
32-bit and 64-bit hypervisors. 

The root cause of this problem is in vnc-fixes patch. It removes
initialization of gui_timer (see below), which actually is used by
gui_update() in vl.c. Retaining these two statements will fix the
problem and QEMU can perform normally.


===========
diff -r 15da4d2106fe vl.c
--- a/vl.c      Thu Jul 06 14:27:28 2006 +0100
+++ b/vl.c      Thu Jul 06 20:19:49 2006 +0100
@@ -5972,8 +5972,7 @@ int main(int argc, char **argv)
                   kernel_filename, kernel_cmdline, initrd_filename,
                   timeoffset);
 
-    gui_timer = qemu_new_timer(rt_clock, gui_update, NULL);     <===
-    qemu_mod_timer(gui_timer, qemu_get_clock(rt_clock));        <===
+    display_state.dpy_refresh(&display_state);
 
 #ifdef CONFIG_GDBSTUB
     if (use_gdbstub) {
...
===========



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.