diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2024-08-01 03:44:49 -0400 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2024-08-01 04:32:00 -0400 |
commit | f1feffc4ef4b1c02daa5ce23fa8ad728c8ef7ce9 (patch) | |
tree | 68d081e24888bf524c880e4b3e8614071737999c /hw/ppc | |
parent | 47279e8afa84cb28e84e3ac4392487b94a494fa9 (diff) | |
download | qemu-f1feffc4ef4b1c02daa5ce23fa8ad728c8ef7ce9.zip qemu-f1feffc4ef4b1c02daa5ce23fa8ad728c8ef7ce9.tar.gz qemu-f1feffc4ef4b1c02daa5ce23fa8ad728c8ef7ce9.tar.bz2 |
Revert "hw/ppc/spapr_pci: Do not create DT for disabled PCI device"
This reverts commit 723c5b4628d047e43825a046c6ee517b82b88117.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/ppc')
-rw-r--r-- | hw/ppc/spapr_pci.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c index f63182a..7cf9904 100644 --- a/hw/ppc/spapr_pci.c +++ b/hw/ppc/spapr_pci.c @@ -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; |