So far pci_device_reset() is used for system reset. In that case, interrupt controller is also reset so that all irq is are deasserted. But now pci bus reset/flr is supported, and in that case irq needs to be disabled explicitly.
Isaku Yamahata (3): pci: deassert intx on reset. msi: simply write config a bit. msix: simply write config hw/msi.c | 5 +---- hw/msix.c | 5 +---- hw/pci.c | 9 +++++++++ hw/pci.h | 2 ++ 4 files changed, 13 insertions(+), 8 deletions(-)