[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PULL 15/19] Revert "hw/ppc/spapr_pci: Do not reject VFs created after a
From: |
Michael S. Tsirkin |
Subject: |
[PULL 15/19] Revert "hw/ppc/spapr_pci: Do not reject VFs created after a PF" |
Date: |
Thu, 1 Aug 2024 06:36:53 -0400 |
This reverts commit 26f86093ec989cb73ad03e8a234f5dc321e1e267.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
hw/ppc/spapr_pci.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c
index ed4454bbf7..f63182a03c 100644
--- a/hw/ppc/spapr_pci.c
+++ b/hw/ppc/spapr_pci.c
@@ -1573,9 +1573,7 @@ static void spapr_pci_pre_plug(HotplugHandler
*plug_handler,
* hotplug, we do not allow functions to be hotplugged to a
* slot that already has function 0 present
*/
- if (plugged_dev->hotplugged &&
- !pci_is_vf(pdev) &&
- bus->devices[PCI_DEVFN(slotnr, 0)] &&
+ if (plugged_dev->hotplugged && bus->devices[PCI_DEVFN(slotnr, 0)] &&
PCI_FUNC(pdev->devfn) != 0) {
error_setg(errp, "PCI: slot %d function 0 already occupied by %s,"
" additional functions can no longer be exposed to guest.",
--
MST
- [PULL 05/19] Revert "pcie_sriov: Allow user to create SR-IOV device", (continued)
- [PULL 05/19] Revert "pcie_sriov: Allow user to create SR-IOV device", Michael S. Tsirkin, 2024/08/01
- [PULL 06/19] Revert "pcie_sriov: Check PCI Express for SR-IOV PF", Michael S. Tsirkin, 2024/08/01
- [PULL 07/19] Revert "pcie_sriov: Ensure PF and VF are mutually exclusive", Michael S. Tsirkin, 2024/08/01
- [PULL 08/19] Revert "hw/pci: Fix SR-IOV VF number calculation", Michael S. Tsirkin, 2024/08/01
- [PULL 09/19] Revert "pcie_sriov: Register VFs after migration", Michael S. Tsirkin, 2024/08/01
- [PULL 10/19] Revert "pcie_sriov: Remove num_vfs from PCIESriovPF", Michael S. Tsirkin, 2024/08/01
- [PULL 11/19] Revert "pcie_sriov: Release VFs failed to realize", Michael S. Tsirkin, 2024/08/01
- [PULL 12/19] Revert "pcie_sriov: Reuse SR-IOV VF device instances", Michael S. Tsirkin, 2024/08/01
- [PULL 13/19] Revert "pcie_sriov: Ensure VF function number does not overflow", Michael S. Tsirkin, 2024/08/01
- [PULL 14/19] Revert "pcie_sriov: Do not manually unrealize", Michael S. Tsirkin, 2024/08/01
- [PULL 15/19] Revert "hw/ppc/spapr_pci: Do not reject VFs created after a PF",
Michael S. Tsirkin <=
- [PULL 16/19] Revert "hw/ppc/spapr_pci: Do not create DT for disabled PCI device", Michael S. Tsirkin, 2024/08/01
- [PULL 17/19] Revert "hw/pci: Rename has_power to enabled", Michael S. Tsirkin, 2024/08/01
- [PULL 18/19] hw/i386/amd_iommu: Don't leak memory in amdvi_update_iotlb(), Michael S. Tsirkin, 2024/08/01
- [PULL 19/19] intel_iommu: Fix for IQA reg read dropped DW field, Michael S. Tsirkin, 2024/08/01
- Re: [PULL 00/19] virtio,pci,pc: fixes, Richard Henderson, 2024/08/01