From: Stefan Hajnoczi <stefanha@redhat.com>
To: qemu-devel@nongnu.org, virtio-fs@redhat.com
Cc: Stefan Hajnoczi <stefanha@redhat.com>
Subject: [Qemu-devel] [PATCH RESEND 0/2] virtiofsd: use "fuse_log.h" APIs instead of <err.h>
Date: Thu, 5 Sep 2019 09:29:45 +0100 [thread overview]
Message-ID: <20190905082947.6633-1-stefanha@redhat.com> (raw)
warn(3), warnx(3), err(3), and errx(3) print to stderr even when the --syslog
option was given. In this case messages to stderr are likely to be lost and
this makes troubleshooting hard. Use "fuse_log.h" APIs instead of <err.h>.
Stefan Hajnoczi (2):
virtiofsd: replace warn(3) and warnx(3) with fuse_warning()
virtiofsd: replace err(3) and errx(3) with fuse_err()
contrib/virtiofsd/passthrough_ll.c | 143 ++++++++++++++++++-----------
contrib/virtiofsd/seccomp.c | 15 ++-
2 files changed, 99 insertions(+), 59 deletions(-)
--
2.21.0
next reply other threads:[~2019-09-05 8:30 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-05 8:29 Stefan Hajnoczi [this message]
2019-09-05 8:29 ` [Qemu-devel] [PATCH RESEND 1/2] virtiofsd: replace warn(3) and warnx(3) with fuse_warning() Stefan Hajnoczi
2019-09-05 8:29 ` [Qemu-devel] [PATCH RESEND 2/2] virtiofsd: replace err(3) and errx(3) with fuse_err() Stefan Hajnoczi
2019-09-05 9:17 ` [Qemu-devel] [PATCH RESEND 0/2] virtiofsd: use "fuse_log.h" APIs instead of <err.h> Philippe Mathieu-Daudé
2019-09-05 10:36 ` [Qemu-devel] [Virtio-fs] " Dr. David Alan Gilbert
2019-09-05 10:23 ` Dr. David Alan Gilbert
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=20190905082947.6633-1-stefanha@redhat.com \
--to=stefanha@redhat.com \
--cc=qemu-devel@nongnu.org \
--cc=virtio-fs@redhat.com \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).