arm/arm64: KVM: arch_timer: Initialize cntvoff at kvm_init
authorChristoffer Dall <christoffer.dall@linaro.org>
Sat, 16 Nov 2013 18:51:25 +0000 (10:51 -0800)
committerChristoffer Dall <christoffer.dall@linaro.org>
Sat, 21 Dec 2013 17:58:57 +0000 (09:58 -0800)
Initialize the cntvoff at kvm_init_vm time, not before running the VCPUs
at the first time because that will overwrite any potentially restored
values from user space.

Cc: Andre Przywara <andre.przywara@linaro.org>
Acked-by: Marc Zynger <marc.zyngier@arm.com>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/kvm/arm.c
virt/kvm/arm/vgic.c

Simple merge
Simple merge