]> xenbits.xensource.com Git - people/andrewcoop/seabios.git/commit
hw/pci: reserve IO and mem for pci-2-pci bridges with no devices attached
authorMarcel Apfelbaum <marcel.a@redhat.com>
Thu, 10 Apr 2014 18:55:21 +0000 (21:55 +0300)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 16 Apr 2014 14:49:20 +0000 (10:49 -0400)
commitc6e298e1f12e0f4ca02b6da5e42919ae055f6830
tree66f82014173389a4475dc4367051add4fb77d8e9
parentfe2cbf6d606e138055b00b0aac6162503a5fb38d
hw/pci: reserve IO and mem for pci-2-pci bridges with no devices attached

If a pci-2-pci bridge supports hot-plug functionality but there are no devices
connected to it, reserve IO/mem in order to be able to attach devices
later. Do not waste space, use minimum allowed.

Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Marcel Apfelbaum <marcel.a@redhat.com>
src/fw/pciinit.c
src/hw/pci.c
src/hw/pci.h