pseries: Clean up error reporting in htab migration functions
commit98a5d100c2dfcc2b6daefd8c176eb34055e5b38d
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 20 Jan 2016 01:59:05 +0000 (20 12:59 +1100)
committerDavid Gibson <david@gibson.dropbear.id.au>
Sat, 30 Jan 2016 12:37:37 +0000 (30 23:37 +1100)
tree15fddc6e6d380d8e4428d9e4725c84842fbecc35
parentd54e4d7659ebecd0e1fa7ffc3e954197e09f8a1f
pseries: Clean up error reporting in htab migration functions

The functions for migrating the hash page table on pseries machine type
(htab_save_setup() and htab_load()) can report some errors with an
explicit fprintf() before returning an appropriate error code.  Change some
of these to use error_report() instead. htab_save_setup() is omitted for
now to avoid conflicts with some other in-progress work.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
hw/ppc/spapr.c