From: Chen Fan <chen.fan.f...@cn.fujitsu.com> this is the part 2 of supporting vfio device with aer enabled, the part 1 has been sent out. the code based on v16 series patchset.
v16 -> this: main code changed on the 7/10 and 8/10 patches. others patches only fix some trivial comments or codes sugguested by Marcel. Chen Fan (10): vfio: extract vfio_get_hot_reset_info as a single function vfio: squeeze out vfio_pci_do_hot_reset for support bus reset vfio: add pcie extended capability support vfio: add aer support for vfio device vfio: add check host bus reset is support or not add check reset mechanism when hotplug vfio device pci: introduce pci bus pre reset vfio: introduce last reset sequence id vfio-pci: pass the aer error to guest vfio: add 'aer' property to expose aercap hw/core/qdev.c | 4 +- hw/pci/pci.c | 54 +++++ hw/pci/pci_bridge.c | 5 +- hw/vfio/pci.c | 610 ++++++++++++++++++++++++++++++++++++++++++----- hw/vfio/pci.h | 9 + include/hw/pci/pci_bus.h | 9 + include/hw/qdev-core.h | 3 + 7 files changed, 628 insertions(+), 66 deletions(-) -- 1.9.3