]> git.proxmox.com Git - mirror_qemu.git/commit
pcihp: move fields enabling hotplug into AcpiPciHpState
authorIgor Mammedov <imammedo@redhat.com>
Thu, 2 Mar 2023 16:15:42 +0000 (17:15 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 7 Mar 2023 17:39:00 +0000 (12:39 -0500)
commit6536e427ce490d1d57e9d4369f1765f9f1a85310
treed8372095f229e4d5f0d5cd03f9ad8fd315f2dd47
parent02c106139a5c01a5668246c748939b5a4bb0c467
pcihp: move fields enabling hotplug into AcpiPciHpState

... instead of duplicating them in piix4 and lpc and then
trying to pass them to pcihp routines as arguments.
it simplifies call sites and places pcihp specific in
its own structure.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Message-Id: <20230302161543.286002-34-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/acpi/acpi-pci-hotplug-stub.c
hw/acpi/ich9.c
hw/acpi/pcihp.c
hw/acpi/piix4.c
include/hw/acpi/pcihp.h
include/hw/acpi/piix4.h