HV: vdev passthough hidding SRIOV

Support hide SRIOV extend capability for passthough device

Tracked-On: #5041
Signed-off-by: Tao Yuhong <yuhong.tao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
Reviewed-by: Fei Li <fei1.li@intel.com>
This commit is contained in:
yuhong.tao@intel.com
2020-07-15 22:46:33 +08:00
committed by wenlingz
parent 585c652f81
commit eb36337622
6 changed files with 68 additions and 38 deletions

View File

@@ -221,6 +221,8 @@ struct pci_msix_cap {
struct pci_sriov_cap {
uint32_t capoff;
uint32_t caplen;
uint32_t pre_pos;
bool hide_sriov;
};
struct pci_pdev {