[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PULL 7/9] ppc440_pcix: Change some error_report to qemu_log_
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PULL 7/9] ppc440_pcix: Change some error_report to qemu_log_mask(LOG_UNIMP, ...) |
Date: |
Thu, 15 Mar 2018 15:19:01 +1100 |
From: BALATON Zoltan <address@hidden>
Using log unimp is more appropriate for these messages and this also
silences them by default so they won't clobber make check output when
tests are added for this board.
Signed-off-by: BALATON Zoltan <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
hw/ppc/ppc440_pcix.c | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
diff --git a/hw/ppc/ppc440_pcix.c b/hw/ppc/ppc440_pcix.c
index ab2626a9de..b1307e6477 100644
--- a/hw/ppc/ppc440_pcix.c
+++ b/hw/ppc/ppc440_pcix.c
@@ -21,6 +21,7 @@
#include "qemu/osdep.h"
#include "qemu/error-report.h"
+#include "qemu/log.h"
#include "hw/hw.h"
#include "hw/ppc/ppc.h"
#include "hw/ppc/ppc4xx.h"
@@ -286,8 +287,9 @@ static void ppc440_pcix_reg_write4(void *opaque, hwaddr
addr,
break;
default:
- error_report("%s: unhandled PCI internal register 0x%lx", __func__,
- (unsigned long)addr);
+ qemu_log_mask(LOG_UNIMP,
+ "%s: unhandled PCI internal register 0x%"HWADDR_PRIx"\n",
+ __func__, addr);
break;
}
}
@@ -377,8 +379,9 @@ static uint64_t ppc440_pcix_reg_read4(void *opaque, hwaddr
addr,
break;
default:
- error_report("%s: invalid PCI internal register 0x%lx", __func__,
- (unsigned long)addr);
+ qemu_log_mask(LOG_UNIMP,
+ "%s: invalid PCI internal register 0x%" HWADDR_PRIx "\n",
+ __func__, addr);
val = 0;
}
--
2.14.3
- [Qemu-ppc] [PULL 0/9] ppc-for-2.12 queue 20180315, David Gibson, 2018/03/15
- [Qemu-ppc] [PULL 2/9] tests/boot-serial: Check the 40p machine, too, David Gibson, 2018/03/15
- [Qemu-ppc] [PULL 3/9] hw/ppc/prep: Fix implicit creation of "-drive if=scsi" devices, David Gibson, 2018/03/15
- [Qemu-ppc] [PULL 4/9] hw/misc/macio: Mark the macio devices with user_creatable = false, David Gibson, 2018/03/15
- [Qemu-ppc] [PULL 1/9] sii3112: Remove unneeded exit function, David Gibson, 2018/03/15
- [Qemu-ppc] [PULL 8/9] tests/boot-serial: Test the sam460ex board, David Gibson, 2018/03/15
- [Qemu-ppc] [PULL 6/9] hw/ppc/spapr: Allow "spapr-vlan" as NIC model name beside "ibmveth", David Gibson, 2018/03/15
- [Qemu-ppc] [PULL 5/9] PPC e500: Fix gap between u-boot and kernel, David Gibson, 2018/03/15
- [Qemu-ppc] [PULL 9/9] target/ppc: fix tlbsync to check privilege level depending on GTSE, David Gibson, 2018/03/15
- [Qemu-ppc] [PULL 7/9] ppc440_pcix: Change some error_report to qemu_log_mask(LOG_UNIMP, ...),
David Gibson <=
- Re: [Qemu-ppc] [PULL 0/9] ppc-for-2.12 queue 20180315, Peter Maydell, 2018/03/16
- Re: [Qemu-ppc] [PULL 0/9] ppc-for-2.12 queue 20180315, David Gibson, 2018/03/17
- Re: [Qemu-ppc] [PULL 0/9] ppc-for-2.12 queue 20180315, Peter Maydell, 2018/03/17
- Re: [Qemu-ppc] [PULL 0/9] ppc-for-2.12 queue 20180315, BALATON Zoltan, 2018/03/17
- Re: [Qemu-ppc] [PULL 0/9] ppc-for-2.12 queue 20180315, BALATON Zoltan, 2018/03/17
- Re: [Qemu-ppc] [PULL 0/9] ppc-for-2.12 queue 20180315, David Gibson, 2018/03/18
- Re: [Qemu-ppc] [PULL 0/9] ppc-for-2.12 queue 20180315, Thomas Huth, 2018/03/19
- Re: [Qemu-ppc] [PULL 0/9] ppc-for-2.12 queue 20180315, David Gibson, 2018/03/18