hv: vpci: revert do FLR and BAR restore

Since we restore BAR values when writing Command Register if necessary. We don't
need to trap FLR and do the BAR restore then.

Tracked-On: #3475
Signed-off-by: Li Fei1 <fei1.li@intel.com>
This commit is contained in:
Li Fei1
2019-12-26 23:32:39 +08:00
committed by wenlingz
parent 6c549d48a8
commit 26670d7ab3
7 changed files with 2 additions and 71 deletions

View File

@@ -99,12 +99,6 @@ struct pci_vdev {
struct pci_msi msi;
struct pci_msix msix;
bool has_flr;
uint32_t pcie_capoff;
bool has_af_flr;
uint32_t af_capoff;
/* Pointer to corresponding PCI device's vm_config */
struct acrn_vm_pci_dev_config *pci_dev_config;