[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v5 2/7] icount: remove obsolete warp call
From: |
Pavel Dovgalyuk |
Subject: |
[Qemu-devel] [PATCH v5 2/7] icount: remove obsolete warp call |
Date: |
Mon, 14 Mar 2016 10:44:42 +0300 |
User-agent: |
StGit/0.16 |
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 <address@hidden>
Signed-off-by: Pavel Dovgalyuk <address@hidden>
---
cpus.c | 3 ---
1 files changed, 0 insertions(+), 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);
}
- [Qemu-devel] [PATCH v5 0/7] Deterministic replay extensions, Pavel Dovgalyuk, 2016/03/14
- [Qemu-devel] [PATCH v5 1/7] replay: character devices, Pavel Dovgalyuk, 2016/03/14
- [Qemu-devel] [PATCH v5 2/7] icount: remove obsolete warp call,
Pavel Dovgalyuk <=
- [Qemu-devel] [PATCH v5 3/7] icount: decouple warp calls, Pavel Dovgalyuk, 2016/03/14
- [Qemu-devel] [PATCH v5 4/7] block: add flush callback, Pavel Dovgalyuk, 2016/03/14
- [Qemu-devel] [PATCH v5 5/7] replay: bh scheduling fix, Pavel Dovgalyuk, 2016/03/14
- [Qemu-devel] [PATCH v5 6/7] replay: fix error message, Pavel Dovgalyuk, 2016/03/14
- [Qemu-devel] [PATCH v5 7/7] replay: introduce block devices record/replay, Pavel Dovgalyuk, 2016/03/14
- Re: [Qemu-devel] [PATCH v5 0/7] Deterministic replay extensions, Igor R, 2016/03/15