Another spin of my patches to clean up a bunch of error reporting in the pseries machine type and target-ppc code, to better use the error API.
Once reviewed, I hope to merge this into ppc-for-2.6 shortly. Changes in v3: * Adjusted a commit message for accuracy (suggest by Markus) * Dropped a patch which relied on a wrong guess about the behaviour of foreach_dynamic_sysbus_device(). Changes in v2: * Assorted minor tweaks based on review David Gibson (9): ppc: Cleanup error handling in ppc_set_compat() pseries: Cleanup error handling of spapr_cpu_init() pseries: Clean up hash page table allocation error handling pseries: Clean up error handling in spapr_validate_node_memory() pseries: Cleanup error handling in spapr_vga_init() pseries: Clean up error handling in spapr_rtas_register() pseries: Clean up error handling in xics_system_init() pseries: Clean up error reporting in ppc_spapr_init() pseries: Clean up error reporting in htab migration functions hw/ppc/spapr.c | 134 ++++++++++++++++++++++++++------------------ hw/ppc/spapr_hcall.c | 10 ++-- hw/ppc/spapr_rtas.c | 12 +--- target-ppc/cpu.h | 2 +- target-ppc/translate_init.c | 13 +++-- 5 files changed, 94 insertions(+), 77 deletions(-) -- 2.5.0