aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/spapr_pci.c
diff options
context:
space:
mode:
authorGreg Kurz <groug@kaod.org>2017-12-18 16:58:02 +0100
committerDavid Gibson <david@gibson.dropbear.id.au>2018-01-10 12:52:59 +1100
commit2b3db9dd34579d3253bb6062db92f2af20b39502 (patch)
tree1dfea1b6290b219841e6795b0d251c6394a7f813 /hw/ppc/spapr_pci.c
parent7709dbf12c0bb9a86c186c2c0f7ae67ce363dc80 (diff)
downloadqemu-2b3db9dd34579d3253bb6062db92f2af20b39502.zip
qemu-2b3db9dd34579d3253bb6062db92f2af20b39502.tar.gz
qemu-2b3db9dd34579d3253bb6062db92f2af20b39502.tar.bz2
spapr_pci: use warn_report()
These two are definitely warnings. Let's use the appropriate API. Signed-off-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/ppc/spapr_pci.c')
-rw-r--r--hw/ppc/spapr_pci.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c
index 88797b3..695c820 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) {