diff options
author | Andre Przywara <[email protected]> | 2016-08-08 16:45:43 +0100 |
---|---|---|
committer | Christoffer Dall <[email protected]> | 2016-08-15 23:00:21 +0200 |
commit | c7735769d5dd79afb07254532fabd9ccbd85b1fa (patch) | |
tree | 8cd49bfeaf6429512e5a52cfe1fa1f65c6cc2acc /lib/cpu-notifier-error-inject.c | |
parent | d9ae449b3d14d7c55f69af329972f175d180e68d (diff) |
KVM: arm64: ITS: move ITS registration into first VCPU run
Currently we register an ITS device upon userland issuing the CTLR_INIT
ioctl to mark initialization of the ITS as done.
This deviates from the initialization sequence of the existing GIC
devices and does not play well with the way QEMU handles things.
To be more in line with what we are used to, register the ITS(es) just
before the first VCPU is about to run, so in the map_resources() call.
This involves iterating through the list of KVM devices and map each
ITS that we find.
Signed-off-by: Andre Przywara <[email protected]>
Reviewed-by: Eric Auger <[email protected]>
Tested-by: Eric Auger <[email protected]>
Signed-off-by: Christoffer Dall <[email protected]>
Diffstat (limited to 'lib/cpu-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions