summary refs log tree commit diff stats
path: root/scripts/qapi.py
diff options
context:
space:
mode:
authorDavid Gibson <david@gibson.dropbear.id.au>2016-01-20 12:58:55 +1100
committerDavid Gibson <david@gibson.dropbear.id.au>2016-01-30 23:37:37 +1100
commitd54e4d7659ebecd0e1fa7ffc3e954197e09f8a1f (patch)
tree516d067ee8cf7bc5eadc4ce89e7c086628c8d9d8 /scripts/qapi.py
parent1e49182d05016756be3c7c43a4934f5104717512 (diff)
downloadfocaccia-qemu-d54e4d7659ebecd0e1fa7ffc3e954197e09f8a1f.tar.gz
focaccia-qemu-d54e4d7659ebecd0e1fa7ffc3e954197e09f8a1f.zip
pseries: Clean up error reporting in ppc_spapr_init()
This function includes a number of explicit fprintf()s for errors.
Change these to use error_report() instead.

Also replace the single exit(EXIT_FAILURE) with an explicit exit(1), since
the latter is the more usual idiom in qemu by a large margin.

Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'scripts/qapi.py')
0 files changed, 0 insertions, 0 deletions