aboutsummaryrefslogtreecommitdiff
path: root/target-arm
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2016-06-17 15:23:48 +0100
committerPeter Maydell <peter.maydell@linaro.org>2016-06-17 15:23:51 +0100
commit3b1a2225010b1f25745ed6e934cb4c25eb28282e (patch)
tree696d10989adc6b29b6f132473b2d9c6e35b14762 /target-arm
parent5de8229db542ab7a06e7355e7a095478cc73653a (diff)
target-arm/monitor.c: Advertise emulated GICv3 in capabilities
Now we have an emulated GICv3 we should advertise it via the capabilities in the monitor protocol. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Shannon Zhao <shannon.zhao@linaro.org> Tested-by: Shannon Zhao <shannon.zhao@linaro.org> Message-id: 1465915112-29272-21-git-send-email-peter.maydell@linaro.org
Diffstat (limited to 'target-arm')
-rw-r--r--target-arm/monitor.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/target-arm/monitor.c b/target-arm/monitor.c
index 1ee59a2e45..299cb80ae7 100644
--- a/target-arm/monitor.c
+++ b/target-arm/monitor.c
@@ -72,8 +72,7 @@ GICCapabilityList *qmp_query_gic_capabilities(Error **errp)
GICCapability *v2 = gic_cap_new(2), *v3 = gic_cap_new(3);
v2->emulated = true;
- /* TODO: we'd change to true after we get emulated GICv3. */
- v3->emulated = false;
+ v3->emulated = true;
gic_cap_kvm_probe(v2, v3);