hw/acpi: merge pxb adjacent memory/IO ranges
authorMarcel Apfelbaum <marcel@redhat.com>
Thu, 26 Nov 2015 16:00:26 +0000 (18:00 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 22 Dec 2015 15:45:12 +0000 (17:45 +0200)
commitd7fd0e69147dd6c73aeedd5b77738605fec641c9
tree3c8a5f819a37f9779f45b9e028a9d7ed1bd4dbf3
parent71ae9e94d99240cd02926ad76fadb4963a873b09
hw/acpi: merge pxb adjacent memory/IO ranges

A generic PCI Bus Expander doesn't necessary have a built-in PCI bridge.
Int this case the ACPI will include IO/MEM ranges per device. Try to merge
adjacent resources to reduce the ACPI tables length.

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>
hw/i386/acpi-build.c