diff options
| author | David Gibson <david@gibson.dropbear.id.au> | 2019-09-26 14:11:23 +1000 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2019-10-24 09:36:55 +1100 |
| commit | ebd6be089b4c87554362b516c3ba530217d3f3db (patch) | |
| tree | e7ca87a568404c3f11c01154f98c98c096a6da1a /scripts/qapi/source.py | |
| parent | 150e25f85baa7b7952ddd1bdfd7ff7801213ce51 (diff) | |
| download | focaccia-qemu-ebd6be089b4c87554362b516c3ba530217d3f3db.tar.gz focaccia-qemu-ebd6be089b4c87554362b516c3ba530217d3f3db.zip | |
spapr, xics, xive: Move cpu_intc_create from SpaprIrq to SpaprInterruptController
This method essentially represents code which belongs to the interrupt controller, but needs to be called on all possible intcs, rather than just the currently active one. The "dual" version therefore calls into the xics and xive versions confusingly. Handle this more directly, by making it instead a method on the intc backend, and always calling it on every backend that exists. While we're there, streamline the error reporting a bit. Signed-off-by: David Gibson <david@gibson.dropbear.id.au> Reviewed-by: Greg Kurz <groug@kaod.org> Reviewed-by: Cédric Le Goater <clg@kaod.org>
Diffstat (limited to 'scripts/qapi/source.py')
0 files changed, 0 insertions, 0 deletions