pcie_sriov: Remove num_vfs from PCIESriovPF
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 16 Jan 2025 09:01:01 +0000 (18:01 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 20 Feb 2025 23:23:19 +0000 (18:23 -0500)
commit5e7dd17e43486f41d4f88dbefd7219f0524f424c
tree4586287ced95123fc54904892709b24feea382ee
parentb85901e728d048c931d110bfd5ff8f119cc97df7
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: <20250116-reuse-v20-10-7cb370606368@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pcie_sriov.c
hw/pci/trace-events
include/hw/pci/pcie_sriov.h