hw/ppc/pnv: Use error_report instead of hw_error if a ROM file can't be found
commit7c6e8797337c24520b48d8b50a900a747e50f974
authorThomas Huth <thuth@redhat.com>
Wed, 1 Feb 2017 11:03:10 +0000 (1 12:03 +0100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Wed, 1 Feb 2017 22:30:07 +0000 (2 09:30 +1100)
tree560eff9034c125dc07f7265541aba2dac1d31486
parent715d4b96a444717ec1e5c3b10293b0315700b210
hw/ppc/pnv: Use error_report instead of hw_error if a ROM file can't be found

hw_error() is for CPU related errors only (it dumps the CPU registers
and  calls abort()!), so using error_report() is the better choice
of reporting an error in case we simply did not find a file.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
hw/ppc/pnv.c