diff options
| author | Eric Auger <eric.auger@redhat.com> | 2025-07-14 10:04:51 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-07-15 02:56:40 -0400 |
| commit | 1136309df5e3de7d031a137221318f48784cca5d (patch) | |
| tree | 6651e923c392195e0d56db911c90596b36654a0c /include/hw/pci-host/gpex.h | |
| parent | c4ad7513565979ae4c3910bd37c453f5737343a1 (diff) | |
| download | focaccia-qemu-1136309df5e3de7d031a137221318f48784cca5d.tar.gz focaccia-qemu-1136309df5e3de7d031a137221318f48784cca5d.zip | |
hw/pci-host/gpex-acpi: Use GED acpi pcihp property
Retrieve the acpi pcihp property value from the ged. In case this latter is not set, PCI native hotplug is used on pci0. For expander bridges we keep pci native hotplug, as done on x86 q35. Signed-off-by: Eric Auger <eric.auger@redhat.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Message-Id: <20250714080639.2525563-8-eric.auger@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'include/hw/pci-host/gpex.h')
| -rw-r--r-- | include/hw/pci-host/gpex.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/hw/pci-host/gpex.h b/include/hw/pci-host/gpex.h index 84471533af..feaf827474 100644 --- a/include/hw/pci-host/gpex.h +++ b/include/hw/pci-host/gpex.h @@ -45,6 +45,7 @@ struct GPEXConfig { MemMapEntry pio; int irq; PCIBus *bus; + bool pci_native_hotplug; }; typedef struct GPEXIrq GPEXIrq; |