commit | 8184dd38e22fcaec664c2b98c382b85c26780e26 | [log] [tgz] |
---|---|---|
author | Avi Kivity <avi@redhat.com> | Thu May 27 14:22:51 2010 +0300 |
committer | Avi Kivity <avi@redhat.com> | Sun Aug 01 10:39:23 2010 +0300 |
tree | cf8c6dd4e1e2a2d04cb4d0dfee3b46b9c258937d | |
parent | 10ab25cd6bf7ee4e5a55d81f203f7dc1a855c27e [diff] |
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>