qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 0/6] qemu_log: remove 'cpu' from qemu log function n


From: Peter Maydell
Subject: [Qemu-devel] [PATCH 0/6] qemu_log: remove 'cpu' from qemu log function names
Date: Mon, 11 Feb 2013 16:41:19 +0000

This patchset is just cleanups; it has two major aims:
 * remove 'cpu' from public-facing qemu_log function/type/etc
   names, since the logging is now entirely generic and not
   tied to TCG CPU debug logging at all
 * remove unnecessary indirection through cpus.c (ie set_cpu_log
   and set_cpu_log_filename) in favour of just having vl.c
   call the appropriate qemu_log functions. [I think this indirection
   was a legacy from before commit 3b823210, when qemu-log.h
   could not be included in files that were in libhw.]

thanks
-- PMM

Peter Maydell (6):
  qemu-log: Unify {cpu_set,set_cpu}_log_filename as
    qemu_set_log_filename
  qemu-log: Abstract out "print usage message about valid log
    categories"
  qemu-log: Rename cpu_str_to_log_mask to qemu_str_to_log_mask
  qemu-log: Rename the public-facing cpu_set_log function to
    qemu_set_log
  cpus.c: Drop unnecessary set_cpu_log()
  qemu-log: Rename CPULogItem, cpu_log_items to QEMULogItem,
    qemu_log_items

 bsd-user/main.c         |   12 ++++--------
 cpus.c                  |   21 ---------------------
 hw/ppc.c                |    2 +-
 include/qemu/log.h      |   27 ++++++++++++++++++---------
 include/sysemu/cpus.h   |    2 --
 linux-user/main.c       |   14 +++++---------
 monitor.c               |   10 +++++-----
 qemu-log.c              |   25 +++++++++++++++++--------
 target-i386/translate.c |    2 +-
 tcg/tci/tcg-target.c    |    2 +-
 vl.c                    |   11 +++++++++--
 11 files changed, 61 insertions(+), 67 deletions(-)

-- 
1.7.9.5




reply via email to

[Prev in Thread] Current Thread [Next in Thread]