]> git.ipfire.org Git - thirdparty/libvirt.git/commit
pci: recognize/report GEN4 (PCIe 4.0) card 16GT/s Link speed
authorShivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
Wed, 1 Mar 2017 09:55:58 +0000 (03:55 -0600)
committerLaine Stump <laine@laine.org>
Thu, 13 Apr 2017 17:23:56 +0000 (13:23 -0400)
commit8e09663f7ff70b10a560746f17897d2c67c8460d
treefc80fe378bce38c2c1c34c3016ded842a18ffd16
parent3bf3711a333bfd2b1eb3356541db65a92e65845e
pci: recognize/report GEN4 (PCIe 4.0) card 16GT/s Link speed

Without this added enum value, nodedev-dumpxml of a GEN4 (PCIe 4.0)
card will fail (due to the unrecognized link speed), and since
nodedev-detach and nodedev-reattach internally do a dumpxml+parse,
they will also fail. With this patch, all those operations succeed.

Signed-off-by: Shivaprasad G Bhat <sbhat@linux.vnet.ibm.com>
src/util/virpci.c
src/util/virpci.h