aboutsummaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorFrederic Barrat <fbarrat@linux.ibm.com>2022-04-08 15:13:02 +0200
committerDaniel Henrique Barboza <danielhb413@gmail.com>2022-04-20 18:00:30 -0300
commit2e8656710a3ac6e79d54b18df9f74b30753448cd (patch)
tree94be263453f8dc059aff26d01e32989fb57de2f4 /block
parent23bd5fc3ed1a681eb4f1e1308bb2869fb7ca050f (diff)
downloadqemu-2e8656710a3ac6e79d54b18df9f74b30753448cd.zip
qemu-2e8656710a3ac6e79d54b18df9f74b30753448cd.tar.gz
qemu-2e8656710a3ac6e79d54b18df9f74b30753448cd.tar.bz2
pcie: Don't try triggering a LSI when not defined
This patch skips [de]asserting a LSI interrupt if the device doesn't have any LSI defined. Doing so would trigger an assert in pci_irq_handler(). The PCIE root port implementation in qemu requests a LSI (INTA), but a subclass may want to change that behavior since it's a valid configuration. For example on the POWER8/POWER9/POWER10 systems, the root bridge doesn't request any LSI. Signed-off-by: Frederic Barrat <fbarrat@linux.ibm.com> Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Message-Id: <20220408131303.147840-2-fbarrat@linux.ibm.com> Signed-off-by: Daniel Henrique Barboza <danielhb413@gmail.com>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions