diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2013-10-14 18:01:29 +0300 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2014-01-26 13:11:44 +0200 |
commit | 99fd437dee468609de8218f0eb3b16621fb6a9c9 (patch) | |
tree | f821c2630c56db3b8260173036c7206c7d171d31 /hw/acpi | |
parent | 9e047b982452c633882b486682966c1d97097015 (diff) |
acpi-build: enable hotplug for PCI bridges
This enables support for device hotplug behind
pci bridges. Bridge devices themselves need
to be pre-configured on qemu command line.
Design:
- at machine init time, assign "bsel" property to bridges with
hotplug support
- dynamically (At ACPI table read) generate ACPI code to handle
hotplug events for each bridge with "bsel" property
Note: ACPI doesn't support adding or removing bridges by hotplug.
We detect and prevent removal of bridges by hotplug,
unless they were added by hotplug previously
(and so, are not described by ACPI).
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/acpi')
0 files changed, 0 insertions, 0 deletions