diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2016-03-04 11:24:28 +0200 |
---|---|---|
committer | Michael S. Tsirkin <mst@redhat.com> | 2016-03-11 16:45:21 +0200 |
commit | 226419d6153048cdba2fe722636220b01a1f9e96 (patch) | |
tree | 9c1411811af904c8e9c5f99aeb83e7f42a7fdc35 /hw/pci-bridge | |
parent | 75fd6f13af8513f1e14add754549141e415f8704 (diff) | |
download | qemu-226419d6153048cdba2fe722636220b01a1f9e96.zip qemu-226419d6153048cdba2fe722636220b01a1f9e96.tar.gz qemu-226419d6153048cdba2fe722636220b01a1f9e96.tar.bz2 |
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-bridge')
-rw-r--r-- | hw/pci-bridge/pci_bridge_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/pci-bridge/pci_bridge_dev.c b/hw/pci-bridge/pci_bridge_dev.c index 100bb5e..862a236 100644 --- a/hw/pci-bridge/pci_bridge_dev.c +++ b/hw/pci-bridge/pci_bridge_dev.c @@ -72,7 +72,7 @@ static int pci_bridge_dev_initfn(PCIDevice *dev) goto slotid_error; } if ((bridge_dev->flags & (1 << PCI_BRIDGE_DEV_F_MSI_REQ)) && - msi_supported) { + msi_nonbroken) { err = msi_init(dev, 0, 1, true, true); if (err < 0) { goto msi_error; |