From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=47730 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8zNb-0000sm-LI for qemu-devel@nongnu.org; Sun, 10 Apr 2011 14:29:00 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8zNa-0004jI-Pw for qemu-devel@nongnu.org; Sun, 10 Apr 2011 14:28:59 -0400 Received: from moutng.kundenserver.de ([212.227.126.171]:57070) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8zNa-0004j1-C9 for qemu-devel@nongnu.org; Sun, 10 Apr 2011 14:28:58 -0400 From: Stefan Weil Date: Sun, 10 Apr 2011 20:28:39 +0200 Message-Id: <1302460123-25704-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] qemu-timer: Clean code and re-add multimedia timers for windows List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Paolo Bonzini , QEMU Developers This patch series contains patches for qemu-timer. The first 3 patches try to improve readability of the code. Patch 1 was already sent to qemu-devel. The last patch fixes a problem reported by a user of my QEMU for Windows binaries: the multimedia timers are needed when users want to run current Linux distributions. Instead of reverting the patch which removed these timers, I re-add them here (so we have 4 timers for windows now) and cleaned the original code a little bit. [PATCH 1/4] qemu-timer: Add and use new function qemu_timer_expired_ns [PATCH 2/4] qemu-timer: Remove unneeded include statement (w32) [PATCH 3/4] qemu-timer: Avoid type casts [PATCH 4/4] qemu-timer: Fix timers for w32