Re: [PATCH v2 3/6] arm/arm64: KVM: Reset the HCR on each vcpu when resetting the vcpu

2014-12-08 Thread Marc Zyngier
On 03/12/14 21:18, Christoffer Dall wrote: > When userspace resets the vcpu using KVM_ARM_VCPU_INIT, we should also > reset the HCR, because we now modify the HCR dynamically to > enable/disable trapping of guest accesses to the VM registers. > > This is crucial for reboot of VMs working since oth

[PATCH v2 3/6] arm/arm64: KVM: Reset the HCR on each vcpu when resetting the vcpu

2014-12-03 Thread Christoffer Dall
When userspace resets the vcpu using KVM_ARM_VCPU_INIT, we should also reset the HCR, because we now modify the HCR dynamically to enable/disable trapping of guest accesses to the VM registers. This is crucial for reboot of VMs working since otherwise we will not be doing the necessary cache maint