acpi: fix ACPI generation for pci bridges
commitb89834f4d79070a26536cb73fe5216a2364551eb
authorMarcel Apfelbaum <marcel.a@redhat.com>
Thu, 27 Mar 2014 15:35:36 +0000 (27 17:35 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 28 Mar 2014 11:59:48 +0000 (28 13:59 +0200)
treefc3b23eac0ebec124f8bfa989b8e903b04ee2648
parentc36ad13fe9ece9a21a8c1dd082473a2b182298ee
acpi: fix ACPI generation for pci bridges

Commit 8dcf525abc5dff785251a881f9764dd961065c0d
    acpi-build: append description for non-hotplug
appended description for all occupied non hotpluggable PCI slots.
However the bridge devices are already added to SSDT,
adding them again will create an incorrect SSDT table.

Fixed by skipping the pci bridge devices, marking them as 'system'.

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