diff options
| author | David Gibson | 2016-01-20 02:58:48 +0100 |
|---|---|---|
| committer | David Gibson | 2016-01-30 13:37:37 +0100 |
| commit | 1e49182d05016756be3c7c43a4934f5104717512 (patch) | |
| tree | 4ad5d66af2737d90867ec33dd97a29dbf903d0a2 /linux-headers/linux | |
| parent | pseries: Clean up error handling in spapr_rtas_register() (diff) | |
| download | qemu-1e49182d05016756be3c7c43a4934f5104717512.tar.gz qemu-1e49182d05016756be3c7c43a4934f5104717512.tar.xz qemu-1e49182d05016756be3c7c43a4934f5104717512.zip | |
pseries: Clean up error handling in xics_system_init()
Use the error handling infrastructure to pass an error out from
try_create_xics() instead of assuming &error_abort - the caller is in a
better position to decide on error handling policy.
Also change the error handling from an &error_abort to &error_fatal, since
this occurs during the initial machine construction and could be triggered
by bad configuration rather than a program error.
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>
Diffstat (limited to 'linux-headers/linux')
0 files changed, 0 insertions, 0 deletions
