hw/pcie: Introduce Generic PCI Express Root Port
commitf7d6f3fac8dd7b1d1ecb2662b1751e0ed3fef727
authorMarcel Apfelbaum <marcel@redhat.com>
Mon, 23 Jan 2017 19:20:20 +0000 (23 21:20 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 1 Feb 2017 01:37:17 +0000 (1 03:37 +0200)
treeb9dbd0260e7f90b70dab283804323bac8fc97e12
parentfed23cb4e8b4b583a2533f05cd8975d4bf4fe3be
hw/pcie: Introduce Generic PCI Express Root Port

The Generic Root Port behaves almost the same as the
Intel's IOH device with id 3420, without having
Intel specific attributes.

The device has two purposes:
 (1) Can be used on both X86 and ARM machines.
 (2) It will allow us to tweak the behaviour
    (e.g add vendor-specific PCI capabilities)
     - something that obviously cannot be done
       on a known device.

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>
Tested-by: Andrea Bolognani <abologna@redhat.com>
hw/pci-bridge/Makefile.objs
hw/pci-bridge/gen_pcie_root_port.c [new file with mode: 0644]
include/hw/pci/pci.h