[patch 2/2] QEMU: decrease console "refresh rate" with -nographic

Marcelo Tosatti
2008-04-11T18:38:54Z

[-- Attachment #1: disable-console-timer --]
[-- Type: text/plain, Size: 918 bytes --]

With SIGIO enabled on stdio, there's no need to wakeup the thread
performing IO every 30ms.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

Index: kvm-userspace.io/qemu/vl.c
===================================================================
--- kvm-userspace.io.orig/qemu/vl.c
+++ kvm-userspace.io/qemu/vl.c
@@ -5640,6 +5640,7 @@ static void dumb_display_init(DisplaySta
ds->dpy_update = dumb_update;
ds->dpy_resize = dumb_resize;
ds->dpy_refresh = dumb_refresh;
+ ds->gui_timer_interval = 1000;
}

/***********************************************************/

--