aboutsummaryrefslogtreecommitdiff
path: root/hw/pci-bridge/pcie_root_port.c
diff options
context:
space:
mode:
authorAlex Williamson <alex.williamson@redhat.com>2018-12-12 12:39:08 -0700
committerMichael S. Tsirkin <mst@redhat.com>2018-12-19 16:48:16 -0500
commit4695a2c50076879000ddde9f80d07bbcacfa0f26 (patch)
tree36128e0fa00550422f872594ad242df509a6e0ff /hw/pci-bridge/pcie_root_port.c
parent727b48661f757678f7f42f557ddac072c5a49721 (diff)
qapi: Define PCIe link speed and width properties
Create properties to be able to define speeds and widths for PCIe links. The only tricky bit here is that our get and set callbacks translate from the fixed QAPI automagic enums to those we define in PCI code to represent the actual register segment value. Cc: Eric Blake <eblake@redhat.com> Tested-by: Geoffrey McRae <geoff@hostfission.com> Reviewed-by: Markus Armbruster <armbru@redhat.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Diffstat (limited to 'hw/pci-bridge/pcie_root_port.c')
0 files changed, 0 insertions, 0 deletions