Peter Xu <[email protected]> writes:

> On Wed, Mar 02, 2016 at 11:34:44AM +0800, Peter Xu wrote:
>> [ "v2": { "emulated": true,
>>           "split": false,
>>           "kernel": true },
>>   "v3": { "emulated": false,
>>           "split": false,
>>           "kernel": true } ]
>
> Or something like this:
>
> [{
>     "version": 2,
>     "emulated": true,
>     "split": false,
>     "kernel": true
> },
> {
>     "version": 3,
>     "emulated": false,
>     "split": false,
>     "kernel": true
> }]
>
> If temporarily not considering kernel_irqchip=split case:
>
> [{
>     "version": 2,
>     "emulated": true,
>     "kernel": true
> },
> {
>     "version": 3,
>     "emulated": false,
>     "kernel": true
> }]
>
> To use array rather than dict so that we do not need to change qapi
> schema again when GICv4 comes.

Drive-by shooting without sufficient context: we may *want* to change
the QAPI schema, because that makes the change introspectable with
query-schema.

Reply via email to