]> git.baikalelectronics.ru Git - kernel.git/commit
vfio: whitelist pcieport
authorAlex Williamson <alex.williamson@redhat.com>
Thu, 14 Feb 2013 21:02:13 +0000 (14:02 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Thu, 14 Feb 2013 21:02:13 +0000 (14:02 -0700)
commit5a745218a33f0d67aedab526798a55c6fc5de541
treedf611ac0d055cce871f1de978accff9d23e31e65
parent586985a23fa0db6272c896b8fe3da3723d13ddcf
vfio: whitelist pcieport

pcieport does nice things like manage AER and we know it doesn't do
DMA or expose any user accessible devices on the host.  It also keeps
the Memory, I/O, and Busmaster bits enabled, which is pretty handy
when trying to use anyting below it.  Devices owned by pcieport cannot
be given to users via vfio, but we can tolerate them not being owned
by vfio-pci.

Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
drivers/vfio/vfio.c