diff options
author | Greg Kurz <groug@kaod.org> | 2019-02-07 18:28:37 +0100 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2019-02-17 21:54:02 +1100 |
commit | 925969c3e28692b04ad4075022f985702bf62419 (patch) | |
tree | d476881de3eaa848a5e02c528504d45666162ed2 /hw/misc/macio/cuda.c | |
parent | 27a3ea7eff2af5d8049d911802be4b13145491fc (diff) | |
download | qemu-925969c3e28692b04ad4075022f985702bf62419.zip qemu-925969c3e28692b04ad4075022f985702bf62419.tar.gz qemu-925969c3e28692b04ad4075022f985702bf62419.tar.bz2 |
spapr_pci: Fix interrupt leak in rtas_ibm_change_msi() error path
Now that IRQ allocation has been split in two (first allocate IRQ numbers,
then claim them), if the claiming fails, we must release the IRQs.
Fixes: 4fe75a8ccd80 "spapr: split the IRQ allocation sequence"
Signed-off-by: Greg Kurz <groug@kaod.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw/misc/macio/cuda.c')
0 files changed, 0 insertions, 0 deletions