mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 15:23:53 -06:00
Revert "pcie_sriov: Ensure VF function number does not overflow"
This reverts commit 7771870115
.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
b1282f1e35
commit
19c45c00dc
5 changed files with 18 additions and 51 deletions
|
@ -27,11 +27,10 @@ typedef struct PCIESriovVF {
|
|||
uint16_t vf_number; /* Logical VF number of this function */
|
||||
} PCIESriovVF;
|
||||
|
||||
bool pcie_sriov_pf_init(PCIDevice *dev, uint16_t offset,
|
||||
void pcie_sriov_pf_init(PCIDevice *dev, uint16_t offset,
|
||||
const char *vfname, uint16_t vf_dev_id,
|
||||
uint16_t init_vfs, uint16_t total_vfs,
|
||||
uint16_t vf_offset, uint16_t vf_stride,
|
||||
Error **errp);
|
||||
uint16_t vf_offset, uint16_t vf_stride);
|
||||
void pcie_sriov_pf_exit(PCIDevice *dev);
|
||||
|
||||
/* Set up a VF bar in the SR/IOV bar area */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue