acrn-hypervisor/hypervisor/dm/vpci
Li Fei1 7d27c4bcb7 hv: vpci: restore PCI BARs when doing AF FLR
ACRN hypervisor should trap guest doing PCI AF FLR. Besides, it should save some states
before doing the FLR and restore them later, only BARs values for now.
This patch will trap guest Conventional PCI Advanced Features Control Register write
operation if the device supports Conventional PCI Advanced Features Capability and
check whether it wants to do device AF FLR. If it does, call pdev_do_flr to do the job.

Tracked-On: #3465
Signed-off-by: Li Fei1 <fei1.li@intel.com>
2019-12-20 13:09:42 +08:00
..
pci_pt.c hv: vpci: restore PCI BARs when doing AF FLR 2019-12-20 13:09:42 +08:00
vdev.c hv: vpci: move vBAR base setting into pci_vdev_write_bar 2019-11-15 13:54:21 +08:00
vhostbridge.c hv:remove some unnecessary includes 2019-10-15 14:40:39 +08:00
vmsi.c hv: vmsi: refine write_vmsi_cfg implementation 2019-12-05 16:43:22 +08:00
vmsix.c hv: vmsix: refine vmsix remap 2019-12-05 16:43:22 +08:00
vpci_priv.h hv: vmsi: name vmsi with verb-object style 2019-11-29 08:53:07 +08:00
vpci.c hv: vpci: restore PCI BARs when doing AF FLR 2019-12-20 13:09:42 +08:00