This patch series introduces hmp command to inject aer error. Now fw device path is used to specify pci function.
Isaku Yamahata (3): build, pci: remove QMP dependency on core PCI code pci: introduce a parser for fw device path to pci device pcie/aer: glue aer error injection into qemu monitor Makefile.objs | 4 +- Makefile.target | 2 + hmp-commands.hx | 28 +++++++ hw/pci-stub.c | 50 ++++++++++++ hw/pci.c | 128 ++++++++++++++++++++++++++++++++ hw/pci.h | 2 + hw/pcie_aer.c | 222 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ sysemu.h | 5 + 8 files changed, 438 insertions(+), 3 deletions(-) create mode 100644 hw/pci-stub.c