diff options
author | Michael S. Tsirkin <mst@redhat.com> | 2016-03-04 11:24:28 +0200 |
---|---|---|
committer | Timothy Pearson <tpearson@raptorengineering.com> | 2019-11-29 19:49:36 -0600 |
commit | e7d1f87dca47af912a6e955675777b768c98d44a (patch) | |
tree | 7130eb02c23f7a0be4326e98dfc84f22ed4d1932 /hw/pci-bridge/pci_bridge_dev.c | |
parent | 5f3576a81c73409ab38f5a30d69b9ae5788200d7 (diff) | |
download | hqemu-e7d1f87dca47af912a6e955675777b768c98d44a.zip hqemu-e7d1f87dca47af912a6e955675777b768c98d44a.tar.gz |
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/pci_bridge_dev.c')
-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; |