From patchwork Tue Jun 18 20:10:29 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nicholas Tsirakis X-Patchwork-Id: 11002651 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E112B6C5 for ; Tue, 18 Jun 2019 20:12:37 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C99BB28B64 for ; Tue, 18 Jun 2019 20:12:37 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B052228AF7; Tue, 18 Jun 2019 20:12:37 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-5.0 required=2.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id AC87428AE8 for ; Tue, 18 Jun 2019 20:12:36 +0000 (UTC) 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 X-Inumbo-ID: 21815678-9205-11e9-8980-bc764e045a96 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) 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) 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) 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 Errors-To: xen-devel-bounces@lists.xenproject.org Sender: "Xen-devel" X-Virus-Scanned: ClamAV using ClamSMTP 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_info *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_info *ring_info, { ASSERT(ring_info->nmfns == NPAGES_RING(len)); - 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)]); - 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; } - 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); }