mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -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
|
@ -52,11 +52,9 @@ setting up a BAR for a VF.
|
|||
...
|
||||
|
||||
/* Add and initialize the SR/IOV capability */
|
||||
if (!pcie_sriov_pf_init(d, 0x200, "your_virtual_dev",
|
||||
vf_devid, initial_vfs, total_vfs,
|
||||
fun_offset, stride, errp)) {
|
||||
return;
|
||||
}
|
||||
pcie_sriov_pf_init(d, 0x200, "your_virtual_dev",
|
||||
vf_devid, initial_vfs, total_vfs,
|
||||
fun_offset, stride);
|
||||
|
||||
/* Set up individual VF BARs (parameters as for normal BARs) */
|
||||
pcie_sriov_pf_init_vf_bar( ... )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue