aboutsummaryrefslogtreecommitdiff
path: root/hw/ppc/spapr_pci.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/ppc/spapr_pci.c
parent75fd6f13af8513f1e14add754549141e415f8704 (diff)
downloadqemu-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/ppc/spapr_pci.c')
-rw-r--r--hw/ppc/spapr_pci.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/ppc/spapr_pci.c b/hw/ppc/spapr_pci.c
index e8edad3..3fc7895 100644
--- a/hw/ppc/spapr_pci.c
+++ b/hw/ppc/spapr_pci.c
@@ -1790,7 +1790,7 @@ void spapr_pci_rtas_init(void)
rtas_ibm_read_pci_config);
spapr_rtas_register(RTAS_IBM_WRITE_PCI_CONFIG, "ibm,write-pci-config",
rtas_ibm_write_pci_config);
- if (msi_supported) {
+ if (msi_nonbroken) {
spapr_rtas_register(RTAS_IBM_QUERY_INTERRUPT_SOURCE_NUMBER,
"ibm,query-interrupt-source-number",
rtas_ibm_query_interrupt_source_number);