]> Git Repo - qemu.git/commit
hw/ppc/spapr: Silence deprecation message in qtest mode
authorThomas Huth <[email protected]>
Tue, 14 Jun 2016 17:23:03 +0000 (19:23 +0200)
committerDavid Gibson <[email protected]>
Thu, 16 Jun 2016 23:47:59 +0000 (09:47 +1000)
commita1aa1309892581972b5019ef65fd0a12cd69cc28
tree3618de178d838251f45f9960cbef36cb9c1d8780
parent585fcd4b11070b3220685fc54ecca1991cdeb161
hw/ppc/spapr: Silence deprecation message in qtest mode

When running "make check", there is currently always an error message
saying "spapr-pci-vfio-host-bridge is deprecated". This happens because
the QOM tests are instantiating all possible devices, and the error
message is currently located in the instance_init() function of the
device. Since it is legal for the tests to instantiate a device without
using it, the error message should be silenced when we're running in
test mode.

Signed-off-by: Thomas Huth <[email protected]>
Signed-off-by: David Gibson <[email protected]>
hw/ppc/spapr_pci_vfio.c
This page took 0.023819 seconds and 4 git commands to generate.