pcie_sriov: Remove num_vfs from PCIESriovPF
commitcbd9e5120bac3e292eee77b7a2e3692f235a1a26
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 27 Jun 2024 06:07:57 +0000 (27 15:07 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 3 Jul 2024 22:14:07 +0000 (3 18:14 -0400)
treec792bb624d261775aafd5c92f76226cbd96b5115
parent1a9bf009012e590cb166a4a9bae4bc18fb084d76
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>
hw/pci/pcie_sriov.c
hw/pci/trace-events
include/hw/pci/pcie_sriov.h