mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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:
parent
75fd6f13af
commit
226419d615
13 changed files with 29 additions and 16 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue