hw/ppc/spapr_pci: Do not create DT for disabled PCI device
commit723c5b4628d047e43825a046c6ee517b82b88117
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Thu, 27 Jun 2024 06:07:51 +0000 (27 15:07 +0900)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 3 Jul 2024 22:14:07 +0000 (3 18:14 -0400)
tree9c87bebd46bc55d81f38cfa1f64c28376ff1eb81
parent6a31b219a5338564f3978251c79f96f689e037da
hw/ppc/spapr_pci: Do not create DT for disabled PCI device

Disabled means it is a disabled SR-IOV VF or it is powered off, and
hidden from the guest.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Message-Id: <20240627-reuse-v10-2-7ca0b8ed3d9f@daynix.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/ppc/spapr_pci.c