]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
Revert "hw/ppc/spapr_pci: Do not create DT for disabled PCI device"
authorMichael S. Tsirkin <mst@redhat.com>
Thu, 1 Aug 2024 07:44:49 +0000 (03:44 -0400)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 1 Aug 2024 08:32:00 +0000 (04:32 -0400)
This reverts commit 723c5b4628d047e43825a046c6ee517b82b88117.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/ppc/spapr_pci.c

index f63182a03c41c40d792ac6a41977dd50f9582e91..7cf9904c3546ed6bd43b744473d3bd5d8900cd74 100644 (file)
@@ -1296,10 +1296,6 @@ static void spapr_dt_pci_device_cb(PCIBus *bus, PCIDevice *pdev,
         return;
     }
 
-    if (!pdev->enabled) {
-        return;
-    }
-
     err = spapr_dt_pci_device(p->sphb, pdev, p->fdt, p->offset);
     if (err < 0) {
         p->err = err;