summaryrefslogtreecommitdiffstats
path: root/hw/i386
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/i386
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/i386')
-rw-r--r--hw/i386/kvm/apic.c2
-rw-r--r--hw/i386/xen/xen_apic.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/hw/i386/kvm/apic.c b/hw/i386/kvm/apic.c
index 694d398..3c7c8fa 100644
--- a/hw/i386/kvm/apic.c
+++ b/hw/i386/kvm/apic.c
@@ -186,7 +186,7 @@ static void kvm_apic_realize(DeviceState *dev, Error **errp)
APIC_SPACE_SIZE);
if (kvm_has_gsi_routing()) {
- msi_supported = true;
+ msi_nonbroken = true;
}
}
diff --git a/hw/i386/xen/xen_apic.c b/hw/i386/xen/xen_apic.c
index 2b8d709..21d68ee 100644
--- a/hw/i386/xen/xen_apic.c
+++ b/hw/i386/xen/xen_apic.c
@@ -44,7 +44,7 @@ static void xen_apic_realize(DeviceState *dev, Error **errp)
s->vapic_control = 0;
memory_region_init_io(&s->io_memory, OBJECT(s), &xen_apic_io_ops, s,
"xen-apic-msi", APIC_SPACE_SIZE);
- msi_supported = true;
+ msi_nonbroken = true;
}
static void xen_apic_set_base(APICCommonState *s, uint64_t val)
OpenPOWER on IntegriCloud