Peter Maydell <peter.mayd...@linaro.org> writes: [...]
> The QAPI command which this code is implementing is > also (a) target-specific and (b) unfortunately > designed so that it doesn't get passed a particular > CPU or particular device to query, it's just assumed > to be a part of the whole simulation. We can fix (b) if we care: add a suitable optional argument, default to the sole GIC in the system, fail if there's more than one. I assume we have no machines with more than one now.