qemu-devel
[Top][All Lists]
Advanced

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

Re: [Qemu-devel] [PATCH] qemu-clock: add an alarm timer based on timerfd


From: Stefan Weil
Subject: Re: [Qemu-devel] [PATCH] qemu-clock: add an alarm timer based on timerfd
Date: Wed, 19 Sep 2012 18:22:43 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:15.0) Gecko/20120827 Thunderbird/15.0

Am 19.09.2012 18:12, schrieb Paolo Bonzini:
Il 19/09/2012 18:04, Stefan Weil ha scritto:
The win32 timer still works when these modifications were applied.
What are they good for?
IIUC the Win32 did _not_ work (except on Wine) without these.  Note I'm
talking about "-clock win32".

So these provide a hint that the problem with the Win32 timer is not in
the bowels of Windows, but only that it does not adjust the Windows
scheduler quantum.  Wine does not need it because the Linux scheduler is
not as lame.

So if we just eliminated timers and used the g_poll timeout (what was
proposed upthread), Windows would work provided
timeBeginPeriod/timeEndPeriod are called correctly.

Paolo

I tested with -clock win32 (not the mm timer), and it worked on
Win7 (64 bit QEMU) with and without the modification.

Maybe I can run some more tests on 32 bit Windows (also with g_poll),
but don't expect results soon.

Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]