From nobody Tue May 7 05:30:43 2024 Delivered-To: importer@patchew.org Received-SPF: none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail(p=none dis=none) header.from=gmail.com ARC-Seal: i=1; a=rsa-sha256; t=1560888738; cv=none; d=zoho.com; s=zohoarc; b=kbZrX/rLmsqDr2ffWZ/e51sgwLdlbbV/W+uftvdgjpNp8q4hiXCa2sn/JvKl8Iw16CDSeqV0eELw0u8TMr9hw4ldlglmbmmkwtLNbFC8UrZET4ZG1vHcJXUh2wbHr4SMBlk1zy70V7BWhBoMj6XALvuA4ydrvsXWOIgfHmvL3l0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1560888738; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:List-Subscribe:List-Post:List-Id:List-Help:List-Unsubscribe:MIME-Version:Message-ID:Sender:Subject:To:ARC-Authentication-Results; bh=F6sFq8OXrgYfZgxe0EsX31onm8HcHaBFT8ARUV0G4cQ=; b=gMkc5zFlCd22U3jp3pNglr8LYjUQX04JeI/s6tSx8EUyup11Jz1dGP7yxCOM75l3ZlIbUQnVaSXwTdLS4vpPVVESV0EZ66pmCrrZ0mzVQVBSBUZX1z89RdwKZrPWaPL0wZa4FsrK5PXMMdrAvzX0hWW2k8tj0Pz5t/F0ykwCNPg= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=fail; spf=none (zoho.com: 192.237.175.120 is neither permitted nor denied by domain of lists.xenproject.org) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 156088873835969.63214424879254; Tue, 18 Jun 2019 13:12:18 -0700 (PDT) Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hdKRB-0006lO-FL; Tue, 18 Jun 2019 20:10:37 +0000 Received: from us1-rack-dfw2.inumbo.com ([104.130.134.6]) by lists.xenproject.org with esmtp (Exim 4.89) (envelope-from ) id 1hdKRA-0006lJ-1g for xen-devel@lists.xenproject.org; Tue, 18 Jun 2019 20:10:36 +0000 Received: from mail-qk1-x743.google.com (unknown [2607:f8b0:4864:20::743]) by us1-rack-dfw2.inumbo.com (Halon) with ESMTPS id 21815678-9205-11e9-8980-bc764e045a96; Tue, 18 Jun 2019 20:10:34 +0000 (UTC) Received: by mail-qk1-x743.google.com with SMTP id d15so9440144qkl.4 for ; Tue, 18 Jun 2019 13:10:34 -0700 (PDT) Received: from niko-Latitude-E7470.fios-router.home (pool-108-54-183-56.nycmny.fios.verizon.net. [108.54.183.56]) by smtp.gmail.com with ESMTPSA id s44sm11412656qtc.8.2019.06.18.13.10.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Jun 2019 13:10:33 -0700 (PDT) X-Inumbo-ID: 21815678-9205-11e9-8980-bc764e045a96 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=tDGKNZ/PqiEwjQjFJrWA0WkuW0VloGU2clRIaSloWWc=; b=VbRE/iURmIhyPqQ9NFBYnUKkM6wJZSMsbAYrua7xCV5GsSf+jFSBuEU1RtSjlRDJs9 kfvkLsCggZAEW7vu4yRZx2RQJSJB34SEuEDyoeOoNJKujSQmb95M4eRoy0tKLFWCbjDN 6Ee9BeZvDxdkwZ/bJQXDXijqx0tUbBFrN8MQc4jMvKkCU6bJxon0JyiRmeCEJSvsFKAx yc+Emlt77bWbi/gs/AabAO1LtvY2pkeU2or6Ns4fdJaSzJhiizFF9VGM+oXtUepP/2Bd qsKwsIq/yS6qA0N0MTRShegfCMj1/30HuY3UjkdCTkEODXkLGWmcqdL8UFBHxzGM0WMm XwXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=tDGKNZ/PqiEwjQjFJrWA0WkuW0VloGU2clRIaSloWWc=; b=mf8w0ac9356d9qm5jPWB5Nu046NFFsOIa1qo+020LTbPB8Eo2YnpFAapF7lSffOAcs HoJR694I68y4IZX1k2pjFd7GU0fC9HQ/QKhcsygAmdSCehRfa3HoE5rXO++RJTbjmtI7 HU2d6dN9m86jpxtC2noni9TFHOJPWjhAUN3ExZIcYb95lA4kx3YTnhhe+iyi0NDhOzpR sX5oai3qd2TniuuHbSx+AAwiwqCqMguQsNLPiLfYVYu2Ed3FuXgwh5B90OwXQcVtbQSu w4RwPMm481zfN7lQAO9YQEtOcCBDYqZRfUU0MeomMSOEhaxP1uG1FsCviqb6TMRCQsUu hwEQ== X-Gm-Message-State: APjAAAXXv42ArilwEdtKk+TU4TeEIMb2BmvvlfGORM3HK2Ifxe5/3d3z zwcUOj6x3ZrfxqQZTYc7A4OYST3Cfek= X-Google-Smtp-Source: APXvYqwjSDuzU8Mg8b8k2jvYfTVXBCOePqAu2R+Tw4WKHz/xscTZjDTqDJYKUUoNy10ootOHaN7K/g== X-Received: by 2002:a05:620a:1116:: with SMTP id o22mr91513120qkk.82.1560888634188; Tue, 18 Jun 2019 13:10:34 -0700 (PDT) From: Nicholas Tsirakis X-Google-Original-From: Nicholas Tsirakis To: xen-devel@lists.xenproject.org Date: Tue, 18 Jun 2019 16:10:29 -0400 Message-Id: <4b6949fb8d84a255898ca4b285526f6513513371.1560888454.git.tsirakisn@ainfosec.com> X-Mailer: git-send-email 2.17.1 Subject: [Xen-devel] [PATCH] argo: suppress select logging messages X-BeenThere: xen-devel@lists.xenproject.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Cc: Nicholas Tsirakis , Christopher Clark MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-ZohoMail-DKIM: fail (Header signature does not verify) Some logging messages made more sense as argo debug logs rather than standard Xen logs. Use argo_dprintk to only print this info if argo DEBUG is enabled. Signed-off-by: Nicholas Tsirakis Reviewed-by: Christopher Clark --- xen/common/argo.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/xen/common/argo.c b/xen/common/argo.c index c8f4302963..59b655f4c8 100644 --- a/xen/common/argo.c +++ b/xen/common/argo.c @@ -1456,7 +1456,7 @@ find_ring_mfns(struct domain *d, struct argo_ring_inf= o *ring_info, if ( ring_info->mfns ) { /* Ring already existed: drop the previous mapping. */ - gprintk(XENLOG_INFO, "argo: vm%u re-register existing ring " + argo_dprintk("argo: vm%u re-register existing ring " "(vm%u:%x vm%u) clears mapping\n", d->domain_id, ring_info->id.domain_id, ring_info->id.aport, ring_info->id.partner_id); @@ -1516,7 +1516,7 @@ find_ring_mfns(struct domain *d, struct argo_ring_inf= o *ring_info, { ASSERT(ring_info->nmfns =3D=3D NPAGES_RING(len)); =20 - gprintk(XENLOG_DEBUG, "argo: vm%u ring (vm%u:%x vm%u) %p " + argo_dprintk("argo: vm%u ring (vm%u:%x vm%u) %p " "mfn_mapping %p len %u nmfns %u\n", d->domain_id, ring_info->id.domain_id, ring_info->id.aport, ring_info->id.partner_id, ring_info, @@ -1730,7 +1730,7 @@ register_ring(struct domain *currd, list_add(&ring_info->node, &currd->argo->ring_hash[hash_index(&ring_info->id)]); =20 - gprintk(XENLOG_DEBUG, "argo: vm%u registering ring (vm%u:%x vm%u)\= n", + argo_dprintk("argo: vm%u registering ring (vm%u:%x vm%u)\n", currd->domain_id, ring_id.domain_id, ring_id.aport, ring_id.partner_id); } @@ -1770,8 +1770,7 @@ register_ring(struct domain *currd, goto out_unlock2; } =20 - gprintk(XENLOG_DEBUG, - "argo: vm%u re-registering existing ring (vm%u:%x vm%u)\n", + argo_dprintk("argo: vm%u re-registering existing ring (vm%u:%x vm%= u)\n", currd->domain_id, ring_id.domain_id, ring_id.aport, ring_id.partner_id); } --=20 2.17.1 _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel