xics: replace fprintf with error_report
This replaces old-style fprintf with new style error_report. Signed-off-by: Alexey Kardashevskiy <aik@ozlabs.ru> Reviewed-by: Andreas Färber <afaerber@suse.de> Acked-by: David Gibson <david@gibson.dropbear.id.au> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
24408a7d2b
commit
9ccff2a4d6
@ -29,6 +29,7 @@
|
|||||||
#include "trace.h"
|
#include "trace.h"
|
||||||
#include "hw/ppc/spapr.h"
|
#include "hw/ppc/spapr.h"
|
||||||
#include "hw/ppc/xics.h"
|
#include "hw/ppc/xics.h"
|
||||||
|
#include "qemu/error-report.h"
|
||||||
|
|
||||||
void xics_cpu_setup(XICSState *icp, PowerPCCPU *cpu)
|
void xics_cpu_setup(XICSState *icp, PowerPCCPU *cpu)
|
||||||
{
|
{
|
||||||
@ -48,8 +49,8 @@ void xics_cpu_setup(XICSState *icp, PowerPCCPU *cpu)
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
fprintf(stderr, "XICS interrupt controller does not support this CPU "
|
error_report("XICS interrupt controller does not support this CPU "
|
||||||
"bus model\n");
|
"bus model");
|
||||||
abort();
|
abort();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user