mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
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:
parent
9bab08da4e
commit
b1282f1e35
5 changed files with 62 additions and 56 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue