From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LATkh-0001BS-Ik for qemu-devel@nongnu.org; Wed, 10 Dec 2008 13:25:39 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LATkd-000191-Gv for qemu-devel@nongnu.org; Wed, 10 Dec 2008 13:25:35 -0500 Received: from [199.232.76.173] (port=42932 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LATkc-00018d-Vq for qemu-devel@nongnu.org; Wed, 10 Dec 2008 13:25:35 -0500 Received: from mx2.redhat.com ([66.187.237.31]:52927) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LATka-0004VJ-4p for qemu-devel@nongnu.org; Wed, 10 Dec 2008 13:25:34 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id mBAIPNGN024258 for ; Wed, 10 Dec 2008 13:25:25 -0500 From: Eduardo Habkost Date: Wed, 10 Dec 2008 16:24:11 -0200 Message-Id: <1228933464-7670-1-git-send-email-ehabkost@redhat.com> Subject: [Qemu-devel] [PATCH 00/13] Cleanup some logging code Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Eduardo Habkost The following patches are small cleanups of the logging code on multiple partes of qemu. Most of them are for removing duplicated code and #ifdefs from the code. The patches are available on a git tree (see pull request below). My long-term plan is to have a propper logging API on qemu, instead of the global variables 'loglevel' and 'logfile'. These cleanups should make that work easier, in addition to the code readability improvement. --- The following changes since commit eeda67786ccfb1016d8bd5977821bc5175ae862a: aurel32 (1): target-sh4: Add SH bit handling to TLB are available in the git repository at: git://github.com/ehabkost/qemu-hacks.git logging-cleanup Eduardo Habkost (13): hw/ppc.c: LOG_IRQ macro hw/ppc.c: use LOG_IRQ instead of #ifdefs hw/ppc.c: LOG_TB macro hw/ppc.c: use LOG_TB instead of #ifdefs vl.c: LOG_IOPORT macro vl.c: use LOG_IOPORT instead of #ifdefs kqemu.c: LOG_INT macro kqemu.c: use LOG_INT instead of #ifdefs kqemu.c: LOG_INT_STATE macro kqemu.c: use LOG_INT_STATE instead of #ifdefs target-i386/op_helper.c: LOG_PCALL macro target-i386/op_helper.c: use LOG_PCALL instead of #ifdefs target-cris/translate.c: create LOG_DIS macro hw/ppc.c | 313 ++++++++++------------------------------------ kqemu.c | 52 ++++----- target-cris/translate.c | 289 ++++++++++++++++++++++--------------------- target-i386/op_helper.c | 27 ++-- vl.c | 40 +++---- 5 files changed, 266 insertions(+), 455 deletions(-) -- Eduardo