]> xenbits.xensource.com Git - libvirt.git/commit
hostdev: skip ACS check when using VFIO for device assignment
authorLaine Stump <laine@laine.org>
Wed, 26 Aug 2015 06:04:23 +0000 (02:04 -0400)
committerLaine Stump <laine@laine.org>
Wed, 26 Aug 2015 18:07:01 +0000 (14:07 -0400)
commit108d591b1144bc6cb5d1199f6fc23ee972b76e86
tree6f3750d5c13365afd04d71e8f53cd928f25e3fa7
parenteff95ac8fce8af47c0948a1c8a654b210633a350
hostdev: skip ACS check when using VFIO for device assignment

The ACS checks are meaningless when using the more modern VFIO driver
for device assignment since VFIO has its own more complete and exact
checks, but I didn't realize that when I added support for VFIO. This
patch eliminates the ACS check when preparing PCI devices for
assignment if VFIO is being used.

This resolves:

  https://bugzilla.redhat.com/show_bug.cgi?id=1256486
src/util/virhostdev.c