acrn-hypervisor/hypervisor/dm
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
..
vpci hv: vpci: restore PCI BARs when doing AF FLR 2019-12-20 13:09:42 +08:00
io_req.c hv: io: do schedule in IO completion polling loop 2019-12-05 11:19:35 +08:00
vioapic.c hv: mmio: move EPT operation out of register_mmio_emulation_handler 2019-10-31 11:46:10 +08:00
vpic.c hv: remove 'flags' field in struct vm_io_range 2019-08-19 10:19:54 +08:00
vrtc.c hv: remove 'flags' field in struct vm_io_range 2019-08-19 10:19:54 +08:00
vuart.c hv: modify printf "not support the vuart index parameter" in vuart_register_io_handler 2019-11-20 09:45:00 +08:00