diff options
| author | Cédric Le Goater <clg@kaod.org> | 2018-07-30 16:11:32 +0200 |
|---|---|---|
| committer | David Gibson <david@gibson.dropbear.id.au> | 2018-08-21 14:28:45 +1000 |
| commit | 82cffa2eb255731b8402e206d0434cc884d99e54 (patch) | |
| tree | 763ef42808493580b1716ad8968162d43c6b743a /scripts/qapi/introspect.py | |
| parent | d45360d93d71578919ae8065a142beb941a900fd (diff) | |
| download | focaccia-qemu-82cffa2eb255731b8402e206d0434cc884d99e54.tar.gz focaccia-qemu-82cffa2eb255731b8402e206d0434cc884d99e54.zip | |
spapr: introduce a fixed IRQ number space
This proposal introduces a new IRQ number space layout using static numbers for all devices, depending on a device index, and a bitmap allocator for the MSI IRQ numbers which are negotiated by the guest at runtime. As the VIO device model does not have a device index but a "reg" property, we introduce a formula to compute an IRQ number from a "reg" value. It should minimize most of the collisions. The previous layout is kept in pre-3.1 machines raising the 'legacy_irq_allocation' machine class flag. Signed-off-by: Cédric Le Goater <clg@kaod.org> Reviewed-by: Greg Kurz <groug@kaod.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'scripts/qapi/introspect.py')
0 files changed, 0 insertions, 0 deletions