summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
d class='ctrl'>
authorChristoffer Dall <christoffer.dall@linaro.org>2016-12-05 10:32:11 +0100
committerMarc Zyngier <marc.zyngier@arm.com>2016-12-09 15:47:00 +0000
commit8e1a0476f8563cadfa32e9b4fff39c4224553b1e (patch)
tree88f62776b6415c351a6243d6d6fc639df7f99589 /virt
parent266068eabb1077adf7d74a66de6610e7a6205d02 (diff)
KVM: arm/arm64: timer: Check for properly initialized timer on init
When the arch timer code fails to initialize (for example because the memory mapped timer doesn't work, which is currently seen with the AEM model), then KVM just continues happily with a final result that KVM eventually does a NULL pointer dereference of the uninitialized cycle counter. Check directly for this in the init path and give the user a reasonable error in this case. Cc: Shih-Wei Li <shihwei@cs.columbia.edu> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Diffstat (limited to 'virt')