summaryrefslogtreecommitdiffstats
path: root/target-arm/monitor.c
diff options
context:
space:
mode:
authorPeter Maydell2016-06-17 16:23:48 +0200
committerPeter Maydell2016-06-17 16:23:51 +0200
commit3b1a2225010b1f25745ed6e934cb4c25eb28282e (patch)
tree696d10989adc6b29b6f132473b2d9c6e35b14762 /target-arm/monitor.c
parenttarget-arm/machine.c: Allow user to request GICv3 emulation (diff)
downloadqemu-3b1a2225010b1f25745ed6e934cb4c25eb28282e.tar.gz
qemu-3b1a2225010b1f25745ed6e934cb4c25eb28282e.tar.xz
qemu-3b1a2225010b1f25745ed6e934cb4c25eb28282e.zip
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/monitor.c')
-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);