hw/pci: introduce bridge-only vendor-specific capability to provide some hints to...
commit70e1ee59bb9490d9ac529e96820a03b346086ca1
authorAleksandr Bezzubikov <zuban32s@gmail.com>
Thu, 17 Aug 2017 23:36:48 +0000 (18 02:36 +0300)
committerMichael S. Tsirkin <mst@redhat.com>
Fri, 8 Sep 2017 13:15:17 +0000 (8 16:15 +0300)
tree79d1ed786bcbdefd36bb950666de67ca796191e4
parenta35fe226558ac85436ea01af8977f1834927f53f
hw/pci: introduce bridge-only vendor-specific capability to provide some hints to firmware

On PCI init PCI bridges may need some extra info about bus number,
IO, memory and prefetchable memory to reserve. QEMU can provide this
with a special vendor-specific PCI capability.

Signed-off-by: Aleksandr Bezzubikov <zuban32s@gmail.com>
Reviewed-by: Marcel Apfelbaum <marcel@redhat.com>
Tested-by: Marcel Apfelbaum <marcel@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/pci/pci_bridge.c
include/hw/pci/pci_bridge.h