On Wed, Mar 23, 2016 at 01:32:29PM +0800, Peter Xu wrote: > The new command can report which kind of GIC device the host/QEMU > support. The returned result is in the form of array. > > Sample command and output: > > {"execute": "query-gic-capability"} > {"return": [{"emulated": false, "version": 3, "kernel": false}, > {"emulated": true, "version": 2, "kernel": true}]}
Sorry! This is wrong, which is v5 version of interface. The new interface should return a dict rather than array: -> { "execute": "query-gic-capabilities" } <- { "return": { "capabilities": [ { "version": 2, "emulated": true, "kernel": false }, { "version": 3, "emulated": false, "kernel": true } ] } } Thanks. -- peterx