qemu/hw/pci-bridge
Aleksandr Bezzubikov 226263fb5c hw/pci: add QEMU-specific PCI capability to the Generic PCI Express Root Port
To enable hotplugging of a newly created pcie-pci-bridge,
we need to tell firmware (e.g. SeaBIOS) to reserve
additional buses or IO/MEM/PREF space for pcie-root-port.
Additional bus reservation allows us to hotplug pcie-pci-bridge into this root port.
The number of buses and IO/MEM/PREF space to reserve are provided to the device via
a corresponding property, and to the firmware via new PCI capability.
The properties' default values are -1 to keep default behavior unchanged.

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>
2017-09-08 16:15:17 +03:00
..
dec.c hw/pci-bridge/dec: Classify the DEC PCI bridge as bridge device 2017-07-03 22:29:48 +03:00
dec.h Clean up header guards that don't match their file name 2016-07-12 16:19:16 +02:00
gen_pcie_root_port.c hw/pci: add QEMU-specific PCI capability to the Generic PCI Express Root Port 2017-09-08 16:15:17 +03:00
i82801b11.c pci: Convert to realize 2017-07-03 22:29:49 +03:00
ioh3420.c hw/ioh3420: derive from PCI Express Root Port base class 2017-02-01 03:37:17 +02:00
ioh3420.h
Makefile.objs hw/pci: introduce pcie-pci-bridge device 2017-09-08 16:15:17 +03:00
pci_bridge_dev.c pci: Convert shpc_init() to Error 2017-07-03 22:29:49 +03:00
pci_expander_bridge.c qdev: Replace cannot_instantiate_with_device_add_yet with !user_creatable 2017-05-17 10:37:00 -03:00
pcie_pci_bridge.c hw/pci: introduce pcie-pci-bridge device 2017-09-08 16:15:17 +03:00
pcie_root_port.c pci: Convert to realize 2017-07-03 22:29:49 +03:00
xio3130_downstream.c pci: Convert to realize 2017-07-03 22:29:49 +03:00
xio3130_downstream.h
xio3130_upstream.c pci: Convert to realize 2017-07-03 22:29:49 +03:00
xio3130_upstream.h Clean up decorations and whitespace around header guards 2016-07-12 16:20:46 +02:00