KVM: PPC: Book3S: PR: Fix C/R bit setting
authorAlexander Graf <agraf@suse.de>
Thu, 24 Apr 2014 10:48:19 +0000 (12:48 +0200)
committerAlexander Graf <agraf@suse.de>
Fri, 30 May 2014 12:26:18 +0000 (14:26 +0200)
commit740f834eb2505e1883b54cfc1644af80834ab6b6
treeb79bf158e2a93d54b2978c2582570c5bcf7e5144
parent7562c4fded33ca931e17f30a259f49ac20c89b7d
KVM: PPC: Book3S: PR: Fix C/R bit setting

Commit 9308ab8e2d made C/R HTAB updates go byte-wise into the target HTAB.
However, it didn't update the guest's copy of the HTAB, but instead the
host local copy of it.

Write to the guest's HTAB instead.

Signed-off-by: Alexander Graf <agraf@suse.de>
CC: Paul Mackerras <paulus@samba.org>
Acked-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/kvm/book3s_32_mmu.c
arch/powerpc/kvm/book3s_64_mmu.c