From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:57771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adcri-0003tO-3i for qemu-devel@nongnu.org; Wed, 09 Mar 2016 07:05:27 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1adcre-0005td-3J for qemu-devel@nongnu.org; Wed, 09 Mar 2016 07:05:22 -0500 Received: from mx1.redhat.com ([209.132.183.28]:20923) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1adcrd-0005tG-Ua for qemu-devel@nongnu.org; Wed, 09 Mar 2016 07:05:18 -0500 References: <20160301110732.10104.2019.stgit@PASHA-ISP> <20160301110745.10104.65198.stgit@PASHA-ISP> From: Paolo Bonzini Message-ID: <56E01175.1010400@redhat.com> Date: Wed, 9 Mar 2016 13:05:09 +0100 MIME-Version: 1.0 In-Reply-To: <20160301110745.10104.65198.stgit@PASHA-ISP> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v3 2/5] icount: remove obsolete warp call List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Pavel Dovgalyuk , qemu-devel@nongnu.org Cc: edgar.iglesias@xilinx.com, peter.maydell@linaro.org, igor.rubinov@gmail.com, mark.burton@greensocs.com, real@ispras.ru, batuzovk@ispras.ru, maria.klimushenkova@ispras.ru, stefanha@redhat.com, kwolf@redhat.com, hines@cert.org, alex.bennee@linaro.org, fred.konrad@greensocs.com On 01/03/2016 12:07, Pavel Dovgalyuk wrote: > 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. > > Signed-off-by: Pavel Dovgalyuk > --- > cpus.c | 3 --- > 1 files changed, 0 insertions(+), 3 deletions(-) > > diff --git a/cpus.c b/cpus.c > index 898426c..01c9809 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); > } > > Reviewed-by: Paolo Bonzini