summaryrefslogtreecommitdiffstats
path: root/hw/char/spapr_vty.c
diff options
context:
space:
mode:
authorGreg Kurz2019-07-26 16:44:49 +0200
committerDavid Gibson2019-08-21 09:17:39 +0200
commite1588bcdd2ceca232021a626aa3b8e835ea49c52 (patch)
tree026d527819c31daf6acfca20c8ccaab62fc60808 /hw/char/spapr_vty.c
parentspapr/pci: Free MSIs during reset (diff)
downloadqemu-e1588bcdd2ceca232021a626aa3b8e835ea49c52.tar.gz
qemu-e1588bcdd2ceca232021a626aa3b8e835ea49c52.tar.xz
qemu-e1588bcdd2ceca232021a626aa3b8e835ea49c52.zip
spapr/irq: Drop spapr_irq_msi_reset()
PHBs already take care of clearing the MSIs from the bitmap during reset or unplug. No need to do this globally from the machine code. Rather add an assert to ensure that PHBs have acted as expected. Signed-off-by: Greg Kurz <groug@kaod.org> Message-Id: <156415228966.1064338.190189424190233355.stgit@bahia.lan> Reviewed-by: Cédric Le Goater <clg@kaod.org> [dwg: Fix crash in qtest case where spapr->irq_map can be NULL at the new assert()] Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/char/spapr_vty.c')
0 files changed, 0 insertions, 0 deletions