Confusing query-gic-capabilities output in --without-default-devices config
Using QEMU v9.1.0-rc0 configured using --without-default-devices
and only using CONFIG_GUMSTIX=y, query-gic-capabilities
says GICv2 and GICv3 are emulated while GIC device models aren't built in.
{"execute": "query-gic-capabilities"}
{"return": [{"emulated": true, "version": 3, "kernel": false}, {"emulated": true, "version": 2, "kernel": false}]}
The QMP command is restricted to the ARM target but doesn't check for GIC support (CONFIG_ARM_GIC):
{ 'command': 'query-gic-capabilities', 'returns': ['GICCapability'],
'if': 'TARGET_ARM' }