From: Chen Fan <chen.fan.f...@cn.fujitsu.com> v2-v3: 1. fix patch 4/9, 5/9 as Alex sugguestion. 2. patches 5/9 ~ 8/9 are made to force limiting that all vfio functions are combined in the same way as on the host.
v1-v2: 1. limit all devices on same bus in guest are on same bus in host in patch 5/11. 2. patch 05/11 ~ 09/11 has been changed. Chen Fan (9): 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 vfio: add check aer functionality for hotplug device vfio: vote the function 0 to do host bus reset when aer occurred vfio-pci: pass the aer error to guest vfio: add 'aer' property to expose aercap hw/pci/pci.c | 2 + hw/vfio/pci.c | 631 ++++++++++++++++++++++++++++++++++++++++++----- hw/vfio/pci.h | 5 + include/hw/pci/pci_bus.h | 2 + 4 files changed, 577 insertions(+), 63 deletions(-) -- 1.9.3