vfio: blacklist loading of unstable roms
authorBandan Das <bsd@redhat.com>
Wed, 26 Feb 2014 17:33:45 +0000 (10:33 -0700)
committerAlex Williamson <alex.williamson@redhat.com>
Wed, 26 Feb 2014 17:33:45 +0000 (10:33 -0700)
commit4b9430294ed406a00f045d825ada146aecf32309
tree484a09ea5def8635ebf5d340ae21bb36ed21ad68
parent52aa17cbd800b9e71b67cf7f80c3498183d34ec8
vfio: blacklist loading of unstable roms

Certain cards such as the Broadcom BCM57810 have rom quirks
that exhibit unstable system behavior duing device assignment. In
the particular case of 57810, rom execution hangs and if a FLR
follows, the device becomes inoperable until a power cycle. This
change blacklists loading of rom for such cards unless the user
specifies a romfile or rombar=1 on the cmd line

Signed-off-by: Bandan Das <bsd@redhat.com>
Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
hw/misc/vfio.c