Message ID | 20160301110745.10104.65198.stgit@PASHA-ISP (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
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 <pavel.dovgaluk@ispras.ru> > --- > 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 <pbonzini@redhat.com>
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); }
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 <pavel.dovgaluk@ispras.ru> --- cpus.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-)