[libvirt] [PATCH v6 0/4] ARM: add query-gic-capabilities SMP command
Peter Xu
peterx at redhat.com
Wed Mar 23 05:57:39 UTC 2016
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
More information about the libvir-list
mailing list