diff options
| author | Eric Auger <eric.auger@redhat.com> | 2025-07-14 10:05:11 +0200 |
|---|---|---|
| committer | Michael S. Tsirkin <mst@redhat.com> | 2025-07-15 02:56:40 -0400 |
| commit | b8c7ebbb70a316c8ea4a2a31eb071456bcc350b5 (patch) | |
| tree | e73b4dad97440fc0ae3d94fc5e5066983e43d8b9 /hw/acpi/acpi-pci-hotplug-stub.c | |
| parent | 8c58dc0531d868ea706a68114c22601cdf4c4e67 (diff) | |
| download | focaccia-qemu-b8c7ebbb70a316c8ea4a2a31eb071456bcc350b5.tar.gz focaccia-qemu-b8c7ebbb70a316c8ea4a2a31eb071456bcc350b5.zip | |
hw/acpi/pcihp: Remove root arg in acpi_pcihp_init
Let pass the root bus to ich9 and piix4 through a property link instead of through an argument passed to acpi_pcihp_init(). Also make sure the root bus is set at the entry of acpi_pcihp_init(). The rationale of that change is to be consistent with the forecoming ARM implementation where the machine passes the root bus (steming from GPEX) to the GED device through a link property. Signed-off-by: Eric Auger <eric.auger@redhat.com> Suggested-by: Igor Mammedov <imammedo@redhat.com> Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com> Reviewed-by: Igor Mammedov <imammedo@redhat.com> Message-Id: <20250714080639.2525563-28-eric.auger@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/acpi/acpi-pci-hotplug-stub.c')
| -rw-r--r-- | hw/acpi/acpi-pci-hotplug-stub.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/acpi/acpi-pci-hotplug-stub.c b/hw/acpi/acpi-pci-hotplug-stub.c index b7bc6e40a1..d58ea726a8 100644 --- a/hw/acpi/acpi-pci-hotplug-stub.c +++ b/hw/acpi/acpi-pci-hotplug-stub.c @@ -4,7 +4,7 @@ const VMStateDescription vmstate_acpi_pcihp_pci_status; -void acpi_pcihp_init(Object *owner, AcpiPciHpState *s, PCIBus *root_bus, +void acpi_pcihp_init(Object *owner, AcpiPciHpState *s, MemoryRegion *address_space_io, uint16_t io_base) { } |