mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-10 02:54:58 -06:00
pcihp: generalization of piix4 acpi
Add ACPI based PCI hotplug library with bridge hotplug support. Design - each bus gets assigned "bsel" property. - ACPI code writes this number to a new BNUM register, then uses existing UP/DOWN registers to probe slot status; to eject, write number to BNUM register, then slot into existing EJ. The interface is actually backwards-compatible with existing PIIX4 ACPI (though not migration compatible). This is split out from PIIX4 codebase so we can reuse it for Q35 as well. Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
parent
eb0acfdde6
commit
db4728e6fe
3 changed files with 389 additions and 2 deletions
|
@ -1,2 +1 @@
|
|||
common-obj-$(CONFIG_ACPI) += core.o piix4.o ich9.o
|
||||
|
||||
common-obj-$(CONFIG_ACPI) += core.o piix4.o ich9.o pcihp.o
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue