From: dmukhin@ford.com
To: Mykola Kvach <xakep.amatop@gmail.com>
Cc: dmukhin@ford.com, xen-devel@lists.xenproject.org,
andrew.cooper3@citrix.com, anthony.perard@vates.tech,
jbeulich@suse.com, julien@xen.org, michal.orzel@amd.com,
roger.pau@citrix.com, sstabellini@kernel.org,
christopher.w.clark@gmail.com, dpsmith@apertussolutions.com
Subject: Re: [PATCH v2 1/3] argo: lower level of noisy connection-refused log
Date: Fri, 22 May 2026 19:50:03 -0700 [thread overview]
Message-ID: <ahEV27RO2ClsIrJR@kraken> (raw)
In-Reply-To: <CAGeoDV9Q=+qujawck1CBtvAgT7hNxFgy2uLdVyJXrCwNEAsD8A@mail.gmail.com>
On Fri, May 22, 2026 at 08:36:58PM +0300, Mykola Kvach wrote:
> Hi Denis,
>
> Just one follow-up after sending my Reviewed-by.
>
> The patches look fine to me and my tag still stands, but there are a
> couple of side effects worth considering here.
>
> On Fri, May 22, 2026 at 7:53 PM <dmukhin@ford.com> wrote:
> >
> > From: Denis Mukhin <dmukhin@ford.com>
> >
> > Lower the log level of the "connection refused" log line, as it can
> > spam the logs when a dom0 service using the Argo hypercall tries to
> > communicate with a domain that is still starting up.
> >
> > Signed-off-by: Denis Mukhin <dmukhin@ford.com>
> > ---
> > Changes since v1:
> > - dropped duplicate "argo: " prefix
> > ---
> > xen/common/argo.c | 7 +++----
> > 1 file changed, 3 insertions(+), 4 deletions(-)
> >
> > diff --git a/xen/common/argo.c b/xen/common/argo.c
> > index 28626e00a8cb..98a3db7fd070 100644
> > --- a/xen/common/argo.c
> > +++ b/xen/common/argo.c
> > @@ -2034,10 +2034,9 @@ sendv(struct domain *src_d, xen_argo_addr_t *src_addr,
> > src_id.domain_id);
> > if ( !ring_info )
> > {
> > - gprintk(XENLOG_ERR,
> > - "argo: vm%u connection refused, src (vm%u:%x) dst (vm%u:%x)\n",
> > - current->domain->domain_id, src_id.domain_id, src_id.aport,
> > - dst_addr->domain_id, dst_addr->aport);
> > + argo_dprintk("vm%u connection refused, src (vm%u:%x) dst (vm%u:%x)\n",
>
> First, switching from gprintk() to argo_dprintk() means the message will
> no longer include the "%pv" context printed by gprintk(), i.e. the
> current vCPU/domain context. If that context is still useful for this
> message, it may need to be added explicitly.
I think %pv context is useful for debugging, I will add another small
patch to re-wire argo_dprintk() to gprintk().
>
> Second, this also changes when the message is printed. gprintk() is a
> regular printk() wrapper with a guest prefix and the requested log level,
> while argo_dprintk() is compiled as a no-op unless ARGO_DEBUG is enabled.
> So the change is not only lowering the log level from error to debug, but
> also making the message depend on ARGO_DEBUG.
>
> This may be intended, but in that case it might be worth mentioning this
> in the commit message.
Yes, this specific logline should be fine to be compiled out, the error
is propaged back to the caller domain via XEN_ARGO_OP_sendv hypercall.
I will update the commit message.
Thanks!
>
> ~Mykola
>
next prev parent reply other threads:[~2026-05-23 2:50 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-22 16:52 [PATCH v2 0/3] argo: few loglevel fixes dmukhin
2026-05-22 16:52 ` [PATCH v2 1/3] argo: lower level of noisy connection-refused log dmukhin
2026-05-22 17:21 ` Mykola Kvach
2026-05-22 17:36 ` Mykola Kvach
2026-05-23 2:50 ` dmukhin [this message]
2026-05-22 16:52 ` [PATCH v2 2/3] argo: correct logline in ring_unmap() dmukhin
2026-05-22 17:21 ` Mykola Kvach
2026-05-22 16:52 ` [PATCH v2 3/3] argo: drop argo prefix from argo_dprintk() calls dmukhin
2026-05-22 17:24 ` Mykola Kvach
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ahEV27RO2ClsIrJR@kraken \
--to=dmukhin@ford.com \
--cc=andrew.cooper3@citrix.com \
--cc=anthony.perard@vates.tech \
--cc=christopher.w.clark@gmail.com \
--cc=dpsmith@apertussolutions.com \
--cc=jbeulich@suse.com \
--cc=julien@xen.org \
--cc=michal.orzel@amd.com \
--cc=roger.pau@citrix.com \
--cc=sstabellini@kernel.org \
--cc=xakep.amatop@gmail.com \
--cc=xen-devel@lists.xenproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.