diff options
author | Akihiko Odaki <akihiko.odaki@daynix.com> | 2024-06-27 15:07:57 +0900 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-07-03 18:14:07 -0400 |
commit | cbd9e5120bac3e292eee77b7a2e3692f235a1a26 (patch) | |
tree | c792bb624d261775aafd5c92f76226cbd96b5115 /include | |
parent | 1a9bf009012e590cb166a4a9bae4bc18fb084d76 (diff) | |
download | qemu-cbd9e5120bac3e292eee77b7a2e3692f235a1a26.zip qemu-cbd9e5120bac3e292eee77b7a2e3692f235a1a26.tar.gz qemu-cbd9e5120bac3e292eee77b7a2e3692f235a1a26.tar.bz2 |
pcie_sriov: Remove num_vfs from PCIESriovPF
num_vfs is not migrated so use PCI_SRIOV_CTRL_VFE and PCI_SRIOV_NUM_VF
instead.
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20240627-reuse-v10-8-7ca0b8ed3d9f@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/pci/pcie_sriov.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/pci/pcie_sriov.h b/include/hw/pci/pcie_sriov.h index 7064923..5148c5b 100644 --- a/include/hw/pci/pcie_sriov.h +++ b/include/hw/pci/pcie_sriov.h @@ -16,7 +16,6 @@ #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; |