]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/i386/acpi-build: Introduce build_append_pcihp_resources() helper
authorEric Auger <eric.auger@redhat.com>
Mon, 14 Jul 2025 08:04:55 +0000 (10:04 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 15 Jul 2025 06:56:40 +0000 (02:56 -0400)
commitc5dee204b0ae45c92b1a9640055ec068c6748b3c
treef239db82fad820fdb8d50aa4bd3dc32ea66cc5ad
parentf47d6e6a8f69c8890207d3f771e079700418f7a6
hw/i386/acpi-build: Introduce build_append_pcihp_resources() helper

Extract the code that reserves resources for ACPI PCI hotplug
into a new helper named build_append_pcihp_resources() and
move it to pcihp.c. We will reuse it on ARM.

Signed-off-by: Eric Auger <eric.auger@redhat.com>
Reviewed-by: Gustavo Romero <gustavo.romero@linaro.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Message-Id: <20250714080639.2525563-12-eric.auger@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/pcihp.c
hw/i386/acpi-build.c
include/hw/acpi/pcihp.h