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

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").

Changelog in each patch.

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        | 69 ++++++++++++++++++++++++++++++--------------
 builtin-setup.c      | 16 +++++-----
 guest_compat.c       |  2 +-
 include/kvm/util.h   | 14 ++++++---
 kvm-cpu.c            | 12 ++++----
 mmio.c               |  2 +-
 util/parse-options.c | 28 ++++++++++--------
 util/util.c          | 27 +++++++++++++++--
 9 files changed, 116 insertions(+), 59 deletions(-)

-- 
2.41.0


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

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

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-07-07 15:11 [PATCH kvmtool v2 0/4] Add --loglevel argument Alexandru Elisei
2023-07-07 15:11 ` [PATCH kvmtool v2 1/4] util: Make pr_err() return void Alexandru Elisei
2023-07-07 15:11 ` [PATCH kvmtool v2 2/4] Replace printf/fprintf with pr_* macros Alexandru Elisei
2023-07-10  8:30   ` Jean-Philippe Brucker
2023-07-12 16:26   ` Suzuki K Poulose
2023-07-14 13:44     ` Alexandru Elisei
2023-07-07 15:11 ` [PATCH kvmtool v2 3/4] util: Use __pr_debug() instead of pr_info() to print debug messages Alexandru Elisei
2023-07-07 15:11 ` [PATCH kvmtool v2 4/4] Add --loglevel argument for the run command Alexandru Elisei
2023-07-10  6:56 ` [PATCH kvmtool v2 0/4] Add --loglevel argument Anup Patel
2023-07-12 16:17 ` Will Deacon

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