hw/pxb-pcie: fix PCI Express hotplug support
commit077dd74239a99f6c1e77c5c1aa24cfc7f58cd20c
authorMarcel Apfelbaum <marcel@redhat.com>
Tue, 28 Feb 2017 14:13:29 +0000 (28 16:13 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 2 Mar 2017 05:31:26 +0000 (2 07:31 +0200)
tree69042b4ec16ef56b7b659ef1ce5a3c8b25ffe22c
parent5cb206b58d1ad6bd2ca1b2276af0b262c617e5fb
hw/pxb-pcie: fix PCI Express hotplug support

Add the missing osc method for pxb-pcie devices as APCI spec recommends,
see 6.2.9.1 OSC Implementation Example for PCI Host Bridge Devices, ACPI 3.0a:

    It is recommended that a machine with multiple host bridge devices
    should report the same capabilities for all host bridges, and also
    negotiate control of the features described in the Control Field in
    the same way for all host bridges.

Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Signed-off-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
dtc
hw/i386/acpi-build.c