apci: fix PXB behaviour if used with unsupported BIOS
commit0f6dd8e1d514b8c24689499ed72ea89fd0d967f3
authorMarcel Apfelbaum <marcel@redhat.com>
Tue, 2 Jun 2015 11:23:11 +0000 (2 14:23 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 3 Jun 2015 16:19:18 +0000 (3 18:19 +0200)
tree0be64b828df070b4f646f39fa6c64de0e56d074f
parent0e79e51a7dcbd4fde5738d713b60f0fb0321f1af
apci: fix PXB behaviour if used with unsupported BIOS

PXB does not work with unsupported bioses, but should
not interfere with normal OS operation.
We don't ship them anymore, but it's reasonable
to keep the work-around until we update the bios in qemu.

Fix this by not adding PXB mem/IO chunks to _CRS
if they weren't configured by BIOS.

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>
Acked-by: Laszlo Ersek <lersek@redhat.com>
hw/i386/acpi-build.c