Here are a bunch of fixes and cleanups to aer interrupt injection. Compile tested only, issues were found by reading the code and spec.
I put these on my pci branch for ease of testing, but can back them out if needed. Pls review and test. Thanks! Michael S. Tsirkin (6): pci: untangle pci/msi dependency Makefile: make msix/msi depend on CONFIG_PCI pci/aer: remove dead code pci/aer: fix error injection pci/aer: fix interrupt on config write pci/aer: factor out common code Makefile.objs | 3 +- hw/pci.c | 19 ---------- hw/pci.h | 3 -- hw/pcie.c | 8 +++-- hw/pcie_aer.c | 103 +++++++++++++++++++++++++++++---------------------------- 5 files changed, 59 insertions(+), 77 deletions(-) -- 1.7.3.2.91.g446ac