diff options
author | David Gibson <david@gibson.dropbear.id.au> | 2016-01-25 22:46:47 +1100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2016-01-30 23:37:37 +1100 |
commit | 7c150d6f04f23dbcb4402bd5e16a8c86757a727a (patch) | |
tree | 9645036dd9e65db57edd355a052791d582419afd /hw/watchdog/Makefile.objs | |
parent | 569f49671dde92bb2bf55d4d2f32537e04c3c7c8 (diff) |
pseries: Clean up error handling in spapr_validate_node_memory()
Use error_setg() and return an error, rather than using an explicit exit().
Also improve messages, and be more explicit about which constraint failed.
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Reviewed-by: Bharata B Rao <bharata@linux.vnet.ibm.com>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Reviewed-by: Alexey Kardashevskiy <aik@ozlabs.ru>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'hw/watchdog/Makefile.objs')
0 files changed, 0 insertions, 0 deletions