From patchwork Tue Mar 15 17:35:09 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Bonzini X-Patchwork-Id: 8590881 Return-Path: X-Original-To: patchwork-qemu-devel@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 9C5ACC0553 for ; Tue, 15 Mar 2016 17:38:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 05C1720251 for ; Tue, 15 Mar 2016 17:38:53 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 621EE2021B for ; Tue, 15 Mar 2016 17:38:52 +0000 (UTC) Received: from localhost ([::1]:50302 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1afsvj-00041r-Oz for patchwork-qemu-devel@patchwork.kernel.org; Tue, 15 Mar 2016 13:38:51 -0400 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) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=po5orNqQqSbWRqgwlQTZopt/+I+k7aP6sNqehpkuR2o=; b=pCa+Z/6RLh7zXtoiBzTR0rnYGmwS7cjeM7YoTaq6A52JLNp1ZTwcNEgygvKCZBLOBz fftSdyU2HSboSe+wVoPxZjHQGat2db888EiDAk7MqRXj4FeIjUM3jDZP5eu0hm9361+w JwJZteCTt3ooquMZ8agmez4Yuv7OAFgriBn818Rxdnfe/ogLGR+yaVhDzv1D0NVyPO1t mRkDYPCLOQZwWsuidhoFMJ0X430P0fP9d0ZRTPFuiIjoPbBeN1HqFl7voN8QnOA/RfRs Y+JuGpjtffin0a09btJ5V8HmI/HWbFg5EPwk5HmoBkR4u1Txk93Uj24M1Osywrr0jaOe iB0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=po5orNqQqSbWRqgwlQTZopt/+I+k7aP6sNqehpkuR2o=; b=gWfj9UVxdHyrw5uiQrEHlqVBgWTvTy7TviiXmNo+8FH4hU1MJgW3Iq9IiuFbbqDDw0 Ibpc8Z4D0V67PC3j2c8W56b+YDOsrXt2K4MkzuID0cR0UIBGA/t0bAPBEyWsFI326UDo V/PsbOK+XUBs2501evvZWDj2oDtbDZMLBnzUJoKbRrgF4WzmZz2xfm74SEJt/ir1QzBs Da35zGYWo4Dppd6y477GNk5S/s+mKaROOAJUvwXw0hZz/3JVOS8nmkvXZAIC2anoFrYY T/LexElmAcD1caG8xFQ11qWu498c9UVxTAvZmhp/gPkevUnA9atR8TR7V+qdrC+OcpLV lyfA== X-Gm-Message-State: AD7BkJJ4A3+P3QvVMZSP0lUov6L1VBrmk18LpBvo9V30XNAI8E5Kaxntj4+rlJlnNOrt0A== X-Received: by 10.194.60.44 with SMTP id e12mr31135209wjr.137.1458063321870; Tue, 15 Mar 2016 10:35:21 -0700 (PDT) Received: from 640k.lan (94-39-161-17.adsl-ull.clienti.tiscali.it. [94.39.161.17]) by smtp.gmail.com with ESMTPSA id z127sm21827680wme.5.2016.03.15.10.35.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 15 Mar 2016 10:35:21 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Tue, 15 Mar 2016 18:35:09 +0100 Message-Id: <1458063310-128525-8-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1458063310-128525-1-git-send-email-pbonzini@redhat.com> References: <1458063310-128525-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:400c:c09::230 Cc: Pavel Dovgalyuk Subject: [Qemu-devel] [PULL 7/8] icount: remove obsolete warp call X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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); }