diff options
author | Greg Kurz <groug@kaod.org> | 2017-12-18 16:58:02 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2018-01-10 12:52:59 +1100 |
commit | 2b3db9dd34579d3253bb6062db92f2af20b39502 (patch) | |
tree | 1dfea1b6290b219841e6795b0d251c6394a7f813 /hw/ppc/spapr_pci_vfio.c | |
parent | 7709dbf12c0bb9a86c186c2c0f7ae67ce363dc80 (diff) |
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_vfio.c')
-rw-r--r-- | hw/ppc/spapr_pci_vfio.c | 2 |
1 files changed, 1 insertions, 1 deletions
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"); } } |