commit | ff1fcb9ebd53ee3f21ae117e6952204e465f46d8 | [log] [tgz] |
---|---|---|
author | Marcelo Tosatti <mtosatti@redhat.com> | Fri Oct 22 14:18:15 2010 -0200 |
committer | Avi Kivity <avi@redhat.com> | Wed Jan 12 11:23:37 2011 +0200 |
tree | ac316541da4ad9559c4ca027d133c08b3c558954 | |
parent | 83bcacb1a548d4d8df532376c981277761622bce [diff] |
KVM: VMX: remove setting of shadow_base_ptes for EPT The EPT present/writable bits use the same position as normal pagetable bits. Since direct_map passes ACC_ALL to mmu_set_spte, thus always setting the writable bit on sptes, use the generic PT_PRESENT shadow_base_pte. Also pass present/writable error code information from EPT violation to generic pagefault handler. Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com> Signed-off-by: Avi Kivity <avi@redhat.com>