aboutsummaryrefslogtreecommitdiff
path: root/hw/intc
diff options
context:
space:
mode:
Diffstat (limited to 'hw/intc')
-rw-r--r--hw/intc/xics.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/hw/intc/xics.c b/hw/intc/xics.c
index a0d71efd65..666888d527 100644
--- a/hw/intc/xics.c
+++ b/hw/intc/xics.c
@@ -29,6 +29,7 @@
#include "trace.h"
#include "hw/ppc/spapr.h"
#include "hw/ppc/xics.h"
+#include "qemu/error-report.h"
void xics_cpu_setup(XICSState *icp, PowerPCCPU *cpu)
{
@@ -48,8 +49,8 @@ void xics_cpu_setup(XICSState *icp, PowerPCCPU *cpu)
break;
default:
- fprintf(stderr, "XICS interrupt controller does not support this CPU "
- "bus model\n");
+ error_report("XICS interrupt controller does not support this CPU "
+ "bus model");
abort();
}
}