]> git.ipfire.org Git - thirdparty/libvirt.git/commit
Fix PCIe FLR detection
authorMark McLoughlin <markmc@redhat.com>
Fri, 31 Jul 2009 14:35:53 +0000 (15:35 +0100)
committerMark McLoughlin <markmc@redhat.com>
Fri, 31 Jul 2009 14:41:36 +0000 (15:41 +0100)
commita49cf8a57dd99cdb1d31b2df0f3790aec88777b7
tree6a533fcb953b90f8419b6635e48182b39a3f678e
parentf4e71577166d2d347e98df21cd2fe175536f6d60
Fix PCIe FLR detection

PCIe DevCap register is actually 32 bits, not 16 bits. Since FLR is
bit 28, we clearly are failing to detect FLR support.

Known to fix device reset with some SR-IOV devices.

* src/pci.c: fix pciDetectFunctionLevelReset()
src/pci.c