This patch series introduces hmp command to inject aer error.
Now fw device path is used to specify pci function.

Changes v10 -> v11:
- use qdev id and use fw dev path as fallback

Isaku Yamahata (5):
  qdev: export qdev_find_recursive() for later use
  pci: introduce a helper function to convert qdev id to PCIDevice
  pcie/aer: glue aer error injection into qemu monitor
  pci: introduce a parser for fw device path to pci device
  pcie/aer: use fw device path as fallback for aer injection command

 hmp-commands.hx |   30 +++++++
 hw/pci-stub.c   |   13 +++
 hw/pci.c        |  164 +++++++++++++++++++++++++++++++++++++++
 hw/pci.h        |    3 +
 hw/pcie_aer.c   |  227 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 hw/qdev.c       |    2 +-
 hw/qdev.h       |    2 +
 sysemu.h        |    5 +
 8 files changed, 445 insertions(+), 1 deletions(-)


Reply via email to