Revert "pcie_sriov: Reuse SR-IOV VF device instances"

This reverts commit 139610ae67.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
Michael S. Tsirkin 2024-08-01 03:44:42 -04:00
parent 9bab08da4e
commit b1282f1e35
5 changed files with 62 additions and 56 deletions

View file

@ -680,4 +680,9 @@ static inline void pci_irq_pulse(PCIDevice *pci_dev)
MSIMessage pci_get_msi_message(PCIDevice *dev, int vector);
void pci_set_enabled(PCIDevice *pci_dev, bool state);
static inline void pci_set_power(PCIDevice *pci_dev, bool state)
{
pci_set_enabled(pci_dev, state);
}
#endif