hw/pci: add PCI resource reserve capability to legacy PCI bridge
commit6755e618d09a81a82ab67a6163ffc9a39e743d0b
authorJing Liu <jing2.liu@linux.intel.com>
Tue, 21 Aug 2018 03:18:07 +0000 (21 11:18 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 7 Sep 2018 21:05:18 +0000 (7 17:05 -0400)
tree4717887ec0a3f54f5209aac94088b1e4775964db
parent9e8993991ec002f36e642f9c24e80ab5845366f8
hw/pci: add PCI resource reserve capability to legacy PCI bridge

Add hint to firmware (e.g. SeaBIOS) to reserve addtional
BUS/IO/MEM/PREF resource for legacy pci-pci bridge. Add the
resource reserve capability deleting in pci_bridge_dev_exitfn.

Signed-off-by: Jing Liu <jing2.liu@linux.intel.com>
Reviewed-by: Marcel Apfelbaum<marcel.apfelbaum@gmail.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci-bridge/pci_bridge_dev.c