From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48881) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7hXh-0008JO-FE for qemu-devel@nongnu.org; Sat, 12 Dec 2015 05:36:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a7hXg-00088r-E9 for qemu-devel@nongnu.org; Sat, 12 Dec 2015 05:36:45 -0500 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]:36450) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a7hXg-00088m-97 for qemu-devel@nongnu.org; Sat, 12 Dec 2015 05:36:44 -0500 Received: by mail-wm0-x235.google.com with SMTP id n186so61677222wmn.1 for ; Sat, 12 Dec 2015 02:36:44 -0800 (PST) Sender: Paolo Bonzini From: Paolo Bonzini Date: Sat, 12 Dec 2015 11:36:23 +0100 Message-Id: <1449916587-18312-8-git-send-email-pbonzini@redhat.com> In-Reply-To: <1449916587-18312-1-git-send-email-pbonzini@redhat.com> References: <1449916587-18312-1-git-send-email-pbonzini@redhat.com> Subject: [Qemu-devel] [PATCH 07/11] tricore: avoid "naked" qemu_log List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: peter.maydell@linaro.org, Bastian Koppelmann Cc: Bastian Koppelmann Signed-off-by: Paolo Bonzini --- target-tricore/helper.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/target-tricore/helper.c b/target-tricore/helper.c index 1808b28..1b70429 100644 --- a/target-tricore/helper.c +++ b/target-tricore/helper.c @@ -65,8 +65,8 @@ int cpu_tricore_handle_mmu_fault(CPUState *cs, target_ulong address, access_type = ACCESS_INT; ret = get_physical_address(env, &physical, &prot, address, rw, access_type); - qemu_log("%s address=" TARGET_FMT_lx " ret %d physical " TARGET_FMT_plx - " prot %d\n", __func__, address, ret, physical, prot); + qemu_log_mask(CPU_LOG_MMU, "%s address=" TARGET_FMT_lx " ret %d physical " TARGET_FMT_plx + " prot %d\n", __func__, address, ret, physical, prot); if (ret == TLBRET_MATCH) { tlb_set_page(cs, address & TARGET_PAGE_MASK, -- 2.5.0