summaryrefslogtreecommitdiffstats
path: root/hw/ppc/spapr.c
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2016-03-04 11:24:28 +0200
committerTimothy Pearson <tpearson@raptorengineering.com>2019-11-29 19:49:36 -0600
commite7d1f87dca47af912a6e955675777b768c98d44a (patch)
tree7130eb02c23f7a0be4326e98dfc84f22ed4d1932 /hw/ppc/spapr.c
parent5f3576a81c73409ab38f5a30d69b9ae5788200d7 (diff)
downloadhqemu-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/ppc/spapr.c')
-rw-r--r--hw/ppc/spapr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/hw/ppc/spapr.c b/hw/ppc/spapr.c
index 64c4acc..298171a 100644
--- a/hw/ppc/spapr.c
+++ b/hw/ppc/spapr.c
@@ -439,7 +439,7 @@ static void *spapr_create_fdt_skel(hwaddr initrd_base,
_FDT((fdt_property_cell(fdt, "rtas-event-scan-rate",
RTAS_EVENT_SCAN_RATE)));
- if (msi_supported) {
+ if (msi_nonbroken) {
_FDT((fdt_property(fdt, "ibm,change-msix-capable", NULL, 0)));
}
@@ -1743,7 +1743,7 @@ static void ppc_spapr_init(MachineState *machine)
bool kernel_le = false;
char *filename;
- msi_supported = true;
+ msi_nonbroken = true;
QLIST_INIT(&spapr->phbs);
OpenPOWER on IntegriCloud