From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=52664 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pxejn-0002VP-H3 for qemu-devel@nongnu.org; Thu, 10 Mar 2011 07:13:05 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pxejm-0004eU-2R for qemu-devel@nongnu.org; Thu, 10 Mar 2011 07:13:03 -0500 Received: from mail-yx0-f173.google.com ([209.85.213.173]:56642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pxejm-0004eO-05 for qemu-devel@nongnu.org; Thu, 10 Mar 2011 07:13:02 -0500 Received: by yxk8 with SMTP id 8so760702yxk.4 for ; Thu, 10 Mar 2011 04:13:01 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Thu, 10 Mar 2011 13:12:48 +0100 Message-Id: <1299759171-26095-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH v2 0/3] really fix -icount with iothread List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: edgar.iglesias@gmail.com, jan.kiszka@web.de This is a "real" fix for -icount, real in the sense that it works in all cases including those that weren't fixed by my first attempt. Patch 1 is the three-line fix. With that in, patch 2 can revert the previous attempt(s). Finally, patch 3 makes the icount code clearer by finishing the bugfix/reorganization of qemu_next_deadline vs. qemu_next_alarm_deadline. v1->v2: reordered patches, renamed qemu_next_deadline Paolo Bonzini (3): really fix -icount in the iothread case Revert wrong fix for -icount in the iothread case qemu_next_deadline should not consider host-time timers cpus.c | 5 +++- qemu-timer.c | 75 +++++++++++++++++++++++++++++---------------------------- qemu-timer.h | 2 +- 3 files changed, 43 insertions(+), 39 deletions(-) -- 1.7.4