From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57768) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afssN-0006Od-Ni for qemu-devel@nongnu.org; Tue, 15 Mar 2016 13:35:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1afssM-0003nY-Td for qemu-devel@nongnu.org; Tue, 15 Mar 2016 13:35:23 -0400 Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]:32784) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afssM-0003nD-G4 for qemu-devel@nongnu.org; Tue, 15 Mar 2016 13:35:22 -0400 Received: by mail-wm0-x230.google.com with SMTP id l68so155485539wml.0 for ; Tue, 15 Mar 2016 10:35:22 -0700 (PDT) Sender: Paolo Bonzini From: Paolo Bonzini Date: Tue, 15 Mar 2016 18:35:09 +0100 Message-Id: <1458063310-128525-8-git-send-email-pbonzini@redhat.com> In-Reply-To: <1458063310-128525-1-git-send-email-pbonzini@redhat.com> References: <1458063310-128525-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PULL 7/8] icount: remove obsolete warp call List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Pavel Dovgalyuk From: Pavel Dovgalyuk qemu_clock_warp call in qemu_tcg_wait_io_event function is not needed anymore, because it is called in every iteration of main_loop_wait. Reviewed-by: Paolo Bonzini Signed-off-by: Pavel Dovgalyuk Message-Id: <20160310115603.4812.67559.stgit@PASHA-ISP> Signed-off-by: Paolo Bonzini --- cpus.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/cpus.c b/cpus.c index bc774e2..85d0f87 100644 --- a/cpus.c +++ b/cpus.c @@ -995,9 +995,6 @@ static void qemu_wait_io_event_common(CPUState *cpu) static void qemu_tcg_wait_io_event(CPUState *cpu) { while (all_cpu_threads_idle()) { - /* Start accounting real time to the virtual clock if the CPUs - are idle. */ - qemu_clock_warp(QEMU_CLOCK_VIRTUAL); qemu_cond_wait(cpu->halt_cond, &qemu_global_mutex); } -- 1.8.3.1