aboutsummaryrefslogtreecommitdiff
path: root/usr
diff options
context:
space:
mode:
authorMarc Zyngier2015-01-11 14:10:11 +0100
committerPaolo Bonzini2015-01-12 11:15:30 +0100
commit801f6772cecea6cfc7da61aa197716ab64db5f9e (patch)
treee02dbc914d8baed932d04a1fdf74628258f422d0 /usr
parent55e858b75808347378e5117c3c2339f46cc03575 (diff)
arm64: KVM: Fix HCR setting for 32bit guests
Commit b856a59141b1 (arm/arm64: KVM: Reset the HCR on each vcpu when resetting the vcpu) moved the init of the HCR register to happen later in the init of a vcpu, but left out the fixup done in kvm_reset_vcpu when preparing for a 32bit guest. As a result, the 32bit guest is run as a 64bit guest, but the rest of the kernel still manages it as a 32bit. Fun follows. Moving the fixup to vcpu_reset_hcr solves the problem for good. Signed-off-by: Marc Zyngier <marc.zyngier@arm.com> Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions