public inbox for kvm@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH RESEND kvmtool 0/4] Add --loglevel argument
@ 2023-06-30 13:31 Alexandru Elisei
  2023-06-30 13:31 ` [PATCH RESEND kvmtool 1/4] util: Make pr_err() return void Alexandru Elisei
                   ` (3 more replies)
  0 siblings, 4 replies; 13+ messages in thread
From: Alexandru Elisei @ 2023-06-30 13:31 UTC (permalink / raw)
  To: will, julien.thierry.kdev, Suzuki.Poulose, andre.przywara, maz,
	oliver.upton, jean-philippe.brucker, apatel, kvm

Forgot to add the mailing list the first time I sent the series, sorry for
that.

kvmtool can be unnecessarily verbose at times, and Will proposed in a chat
we had a while ago to add a --loglevel command line argument to choose
which type of messages to silence. This is me taking a stab at it.

Build tested for all arches and run tested lightly on a rockpro64 and my
x86 machine.

Base commit is 3b1cdcf9e78f ("virtio/vhost: Clear VIRTIO_F_ACCESS_PLATFORM").

Alexandru Elisei (4):
  util: Make pr_err() return void
  Replace printf/fprintf with pr_* macros
  util: Use __pr_debug() instead of pr_info() to print debug messages
  Add --loglevel argument for the run command

 arm/gic.c            |   5 +--
 builtin-run.c        | 100 ++++++++++++++++++++++++++++++++-----------
 builtin-setup.c      |  18 ++++----
 guest_compat.c       |   2 +-
 include/kvm/util.h   |  14 ++++--
 kvm-cpu.c            |  12 +++---
 mmio.c               |  10 ++---
 util/parse-options.c |  28 ++++++------
 util/util.c          |  27 +++++++++++-
 virtio/core.c        |   6 +--
 x86/ioport.c         |  11 +++--
 11 files changed, 157 insertions(+), 76 deletions(-)

-- 
2.41.0


^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2023-07-07 14:21 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-30 13:31 [PATCH RESEND kvmtool 0/4] Add --loglevel argument Alexandru Elisei
2023-06-30 13:31 ` [PATCH RESEND kvmtool 1/4] util: Make pr_err() return void Alexandru Elisei
2023-07-04  9:37   ` Jean-Philippe Brucker
2023-07-07 13:10     ` Alexandru Elisei
2023-06-30 13:31 ` [PATCH RESEND kvmtool 2/4] Replace printf/fprintf with pr_* macros Alexandru Elisei
2023-07-04  9:46   ` Jean-Philippe Brucker
2023-07-07 13:29     ` Alexandru Elisei
2023-07-07 14:21       ` Jean-Philippe Brucker
2023-06-30 13:31 ` [PATCH RESEND kvmtool 3/4] util: Use __pr_debug() instead of pr_info() to print debug messages Alexandru Elisei
2023-07-04  9:50   ` Jean-Philippe Brucker
2023-07-07 13:35     ` Alexandru Elisei
2023-06-30 13:31 ` [PATCH RESEND kvmtool 4/4] Add --loglevel argument for the run command Alexandru Elisei
2023-07-04  9:53   ` Jean-Philippe Brucker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox