From nobody Thu Nov 6 01:10:29 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) client-ip=208.118.235.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=pass (zoho.com: domain of gnu.org designates 208.118.235.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com Return-Path: Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) by mx.zohomail.com with SMTPS id 1538297090118383.9981235575366; Sun, 30 Sep 2018 01:44:50 -0700 (PDT) Received: from localhost ([::1]:54379 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6XLI-0006rc-Rg for importer@patchew.org; Sun, 30 Sep 2018 04:44:44 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:41921) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g6WsI-0003Bw-Sl for qemu-devel@nongnu.org; Sun, 30 Sep 2018 04:14:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g6WsC-0001Hp-7g for qemu-devel@nongnu.org; Sun, 30 Sep 2018 04:14:43 -0400 Received: from mail-wr1-x429.google.com ([2a00:1450:4864:20::429]:35157) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g6WsB-00019C-QP for qemu-devel@nongnu.org; Sun, 30 Sep 2018 04:14:40 -0400 Received: by mail-wr1-x429.google.com with SMTP id w5-v6so1249189wrt.2 for ; Sun, 30 Sep 2018 01:14:28 -0700 (PDT) Received: from 640k.lan (94-36-187-248.adsl-ull.clienti.tiscali.it. [94.36.187.248]) by smtp.gmail.com with ESMTPSA id u76-v6sm11369194wmd.10.2018.09.30.01.14.26 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sun, 30 Sep 2018 01:14:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=GUfKDw5xsBbO1khO0feCedSj4hssIn+962XPca+NlOo=; b=CEk6r4CLX2tXloPAVXLyHGkyqvBwILpWApax6WsMaJgHlJvlNJXQrqNb1XN4qPsGj/ KjzFRxeR0W8KDG/I0yPBIQNT58Ees47F7qWSv6VY6Kj/+RVlvaNF5ThQfPgqkD1MZ7o1 +mqwXsIl6brLfgX8pFRapEzRZXP4m1lmKTaRYtEPAjyq/cTLRKAPIcgXZ7lNRNi+WGhI ovOYfdTlpKw2LNbkVOxgmppaq71bmWr7bdqgaouGn1Nf+cjmhqw0fcMzzrOW/11p+ENg afcUBVQlMIKrTzCH8fkrI9dJd89fVg4unkrNBLEvDW7yXBCl1lDJNmSv+ZCHaPosAkTC +0RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=GUfKDw5xsBbO1khO0feCedSj4hssIn+962XPca+NlOo=; b=LbwoNGLgJ4j6JqXo8udyyczJfG9ZPU2MgKTQ9s2/I21WHPNe8MB3iHw+pmQA6LNZ3/ LQ1cc2iFYZZWfwoZsiT4QgDhDQbzE9qxb+sgk4GpEBqPRmKoNakDyM4BthDbrJw0hbWu DRzMaCQBLDjb4d+XHL0is+VWZDToHbPXiRlXX672nItL7ISym9errXB1b+6+e+zAKpVq 3qSyfPeeBa1z/6eeGx4++QlE7iai4shn+gcksutFQzBgCwgbbWPgn+9gUM4oJbqIx3es zcCvNbnBQgDBodfbBeG6KNsnIBzLFH5egNcOZA5thrMpBVJL6b260riiVlpLVcpnvHLB PWsg== X-Gm-Message-State: ABuFfogIT3EiOQZSK6bzemKZk5DIW7E1VUvQ/EkK5yuHJMUGGdfOB1pz fkgFl31WqINR+Cov8vjsu941/Hht X-Google-Smtp-Source: ACcGV628t6kHWfq0AfvpNytiT8JJY4TzH+qoEdeLLqZ6zcMLD4ZUun2RuN4UbLcpZ+4Wt7fwHNX41g== X-Received: by 2002:adf:9206:: with SMTP id 6-v6mr448574wrj.275.1538295267593; Sun, 30 Sep 2018 01:14:27 -0700 (PDT) From: Paolo Bonzini To: qemu-devel@nongnu.org Date: Sun, 30 Sep 2018 10:13:03 +0200 Message-Id: <1538295197-23704-66-git-send-email-pbonzini@redhat.com> X-Mailer: git-send-email 1.8.3.1 In-Reply-To: <1538295197-23704-1-git-send-email-pbonzini@redhat.com> References: <1538295197-23704-1-git-send-email-pbonzini@redhat.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::429 Subject: [Qemu-devel] [PULL 65/79] accel/tcg: Remove dead code X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Thomas Huth Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) X-ZohoMail: RDMRC_1 RDKM_2 RSF_0 Z_629925259 SPT_0 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" From: Thomas Huth The global cpu_single_env variable has been removed more than 5 years ago, so apparently nobody used this dead debug code in that timeframe anymore. Thus let's remove it completely now. Signed-off-by: Thomas Huth Message-Id: <1537204134-15905-1-git-send-email-thuth@redhat.com> Reviewed-by: Peter Maydell Signed-off-by: Paolo Bonzini --- accel/tcg/translate-all.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/accel/tcg/translate-all.c b/accel/tcg/translate-all.c index 898c3bb..e589c35 100644 --- a/accel/tcg/translate-all.c +++ b/accel/tcg/translate-all.c @@ -2011,15 +2011,6 @@ void tb_invalidate_phys_page_fast(struct page_collec= tion *pages, { PageDesc *p; =20 -#if 0 - if (1) { - qemu_log("modifying code at 0x%x size=3D%d EIP=3D%x PC=3D%08x\n", - cpu_single_env->mem_io_vaddr, len, - cpu_single_env->eip, - cpu_single_env->eip + - (intptr_t)cpu_single_env->segs[R_CS].base); - } -#endif assert_memory_lock(); =20 p =3D page_find(start >> TARGET_PAGE_BITS); --=20 1.8.3.1