aboutsummaryrefslogtreecommitdiff
path: root/hw/pci/msix.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-03-04 11:24:28 +0200
committerMichael S. Tsirkin <mst@redhat.com>2016-03-11 16:45:21 +0200
commit226419d6153048cdba2fe722636220b01a1f9e96 (patch)
tree9c1411811af904c8e9c5f99aeb83e7f42a7fdc35 /hw/pci/msix.c
parent75fd6f13af8513f1e14add754549141e415f8704 (diff)
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>
Diffstat (limited to 'hw/pci/msix.c')
-rw-r--r--hw/pci/msix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci/msix.c b/hw/pci/msix.c
index 537fdba747..b75f0e9c47 100644
--- a/hw/pci/msix.c
+++ b/hw/pci/msix.c
@@ -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;
}