]> git.karo-electronics.de Git - linux-beck.git/commit
KVM: MMU: Allow spte.w=1 for gpte.w=0 and cr0.wp=0 only in shadow mode
authorAvi Kivity <avi@redhat.com>
Thu, 27 May 2010 11:22:51 +0000 (14:22 +0300)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:39:23 +0000 (10:39 +0300)
commit8184dd38e22fcaec664c2b98c382b85c26780e26
treecf8c6dd4e1e2a2d04cb4d0dfee3b46b9c258937d
parent10ab25cd6bf7ee4e5a55d81f203f7dc1a855c27e
KVM: MMU: Allow spte.w=1 for gpte.w=0 and cr0.wp=0 only in shadow mode

When tdp is enabled, the guest's cr0.wp shouldn't have any effect on spte
permissions.

Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c