From: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] [6391] Fix nographic mode and VNC
Date: Wed, 21 Jan 2009 19:39:49 +0000 [thread overview]
Message-ID: <49777A05.3090403@eu.citrix.com> (raw)
In-Reply-To: <E1LPikI-0005cS-RK@cvs.savannah.gnu.org>
If you just want to always have a timer enabled maybe this patch is better.
I wouldn't want you to add another timer when the gui_timer is available
for this job :)
diff --git a/vl.c b/vl.c
index 63d954b..2e84dce 100644
--- a/vl.c
+++ b/vl.c
@@ -5553,14 +5553,8 @@ int main(int argc, char **argv, char **envp)
}
dpy_resize(ds);
- dcl = ds->listeners;
- while (dcl != NULL) {
- if (dcl->dpy_refresh != NULL) {
- ds->gui_timer = qemu_new_timer(rt_clock, gui_update, ds);
- qemu_mod_timer(ds->gui_timer, qemu_get_clock(rt_clock));
- }
- dcl = dcl->next;
- }
+ ds->gui_timer = qemu_new_timer(rt_clock, gui_update, ds);
+ qemu_mod_timer(ds->gui_timer, qemu_get_clock(rt_clock));
text_consoles_set_display(display_state);
next prev parent reply other threads:[~2009-01-21 19:44 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-21 19:28 [Qemu-devel] [6391] Fix nographic mode and VNC Blue Swirl
2009-01-21 19:39 ` Stefano Stabellini [this message]
2009-01-21 19:52 ` Blue Swirl
2009-01-21 19:56 ` Stefano Stabellini
2009-01-21 20:03 ` Samuel Thibault
2009-01-21 20:16 ` Blue Swirl
2009-01-21 20:29 ` Samuel Thibault
2009-01-21 20:44 ` Blue Swirl
2009-01-21 21:33 ` Anthony Liguori
2009-01-22 0:04 ` Paul Brook
2009-01-22 3:31 ` Anthony Liguori
2009-01-22 4:23 ` Paul Brook
2009-01-22 12:36 ` Ian Jackson
2009-01-23 18:59 ` Paul Brook
2009-01-22 15:29 ` Anthony Liguori
2009-01-23 18:20 ` Paul Brook
2009-01-23 19:37 ` Anthony Liguori
2009-01-25 19:57 ` Jamie Lokier
2009-01-25 23:25 ` Paul Brook
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=49777A05.3090403@eu.citrix.com \
--to=stefano.stabellini@eu.citrix.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).