mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
Revert "pcie_sriov: Remove num_vfs from PCIESriovPF"
This reverts commit cbd9e5120b
.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
b9ba817694
commit
ae9c192de7
3 changed files with 10 additions and 21 deletions
|
@ -16,6 +16,7 @@
|
|||
#include "hw/pci/pci.h"
|
||||
|
||||
typedef struct PCIESriovPF {
|
||||
uint16_t num_vfs; /* Number of virtual functions created */
|
||||
uint8_t vf_bar_type[PCI_NUM_REGIONS]; /* Store type for each VF bar */
|
||||
PCIDevice **vf; /* Pointer to an array of num_vfs VF devices */
|
||||
} PCIESriovPF;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue