[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-ppc] [PULL 13/14] spapr_pci: use warn_report()
From: |
David Gibson |
Subject: |
[Qemu-ppc] [PULL 13/14] spapr_pci: use warn_report() |
Date: |
Tue, 19 Dec 2017 15:29:41 +1100 |
From: Greg Kurz <address@hidden>
These two are definitely warnings. Let's use the appropriate API.
Signed-off-by: Greg Kurz <address@hidden>
Signed-off-by: David Gibson <address@hidden>
---
hw/ppc/spapr_pci.c | 6 +++---
hw/ppc/spapr_pci_vfio.c | 2 +-
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c
index 88797b3d36..695c820911 100644
--- a/hw/ppc/spapr_pci.c
+++ b/hw/ppc/spapr_pci.c
@@ -1696,9 +1696,9 @@ static void spapr_phb_realize(DeviceState *dev, Error
**errp)
/* DMA setup */
if (((sphb->page_size_mask & qemu_getrampagesize()) == 0)
&& kvm_enabled()) {
- error_report("System page size 0x%lx is not enabled in page_size_mask "
- "(0x%"PRIx64"). Performance may be slow",
- qemu_getrampagesize(), sphb->page_size_mask);
+ warn_report("System page size 0x%lx is not enabled in page_size_mask "
+ "(0x%"PRIx64"). Performance may be slow",
+ qemu_getrampagesize(), sphb->page_size_mask);
}
for (i = 0; i < windows_supported; ++i) {
diff --git a/hw/ppc/spapr_pci_vfio.c b/hw/ppc/spapr_pci_vfio.c
index 8448e0b024..1f775ea93d 100644
--- a/hw/ppc/spapr_pci_vfio.c
+++ b/hw/ppc/spapr_pci_vfio.c
@@ -50,7 +50,7 @@ static Property spapr_phb_vfio_properties[] = {
static void spapr_phb_vfio_instance_init(Object *obj)
{
if (!qtest_enabled()) {
- error_report("spapr-pci-vfio-host-bridge is deprecated");
+ warn_report("spapr-pci-vfio-host-bridge is deprecated");
}
}
--
2.14.3
- [Qemu-ppc] [PULL 01/14] target-ppc: optimize cmp translation, (continued)
- [Qemu-ppc] [PULL 01/14] target-ppc: optimize cmp translation, David Gibson, 2017/12/18
- [Qemu-ppc] [PULL 04/14] sm501: Add some more unimplemented registers, David Gibson, 2017/12/18
- [Qemu-ppc] [PULL 05/14] ppc4xx_i2c: Implement basic I2C functions, David Gibson, 2017/12/18
- [Qemu-ppc] [PULL 09/14] spapr: Validate capabilities on migration, David Gibson, 2017/12/18
- [Qemu-ppc] [PULL 10/14] target/ppc: Clean up probing of VMX, VSX and DFP availability on KVM, David Gibson, 2017/12/18
- [Qemu-ppc] [PULL 07/14] spapr: Capabilities infrastructure, David Gibson, 2017/12/18
- [Qemu-ppc] [PULL 12/14] spapr: Handle Decimal Floating Point (DFP) as an optional capability, David Gibson, 2017/12/18
- [Qemu-ppc] [PULL 14/14] hw/ide: Emulate SiI3112 SATA controller, David Gibson, 2017/12/18
- [Qemu-ppc] [PULL 11/14] spapr: Handle VMX/VSX presence as an spapr capability flag, David Gibson, 2017/12/18
- [Qemu-ppc] [PULL 08/14] spapr: Treat Hardware Transactional Memory (HTM) as an optional capability, David Gibson, 2017/12/18
- [Qemu-ppc] [PULL 13/14] spapr_pci: use warn_report(),
David Gibson <=
- [Qemu-ppc] [PULL 06/14] ppc/pnv: change powernv_ prefix to pnv_ for overall naming consistency, David Gibson, 2017/12/18
- [Qemu-ppc] [PULL 02/14] pseries: Update SLOF firmware image to qemu-slof-20171214, David Gibson, 2017/12/18
- Re: [Qemu-ppc] [PULL 00/14] ppc-for-2.12 queue 20171219, Peter Maydell, 2017/12/20