msi_supported -> msi_nonbroken

Rename controller flag to make it clearer what it means.
Add some documentation as well.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
Michael S. Tsirkin 2016-03-04 11:24:28 +02:00
parent 75fd6f13af
commit 226419d615
13 changed files with 29 additions and 16 deletions

View file

@ -249,7 +249,7 @@ int msix_init(struct PCIDevice *dev, unsigned short nentries,
uint8_t *config;
/* Nothing to do if MSI is not supported by interrupt controller */
if (!msi_supported) {
if (!msi_nonbroken) {
return -ENOTSUP;
}