From: Marcelo Tosatti Date: Fri, 22 Oct 2010 16:18:15 +0000 (-0200) Subject: KVM: VMX: remove setting of shadow_base_ptes for EPT X-Git-Tag: v2.6.38-rc1~244^2~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff1fcb9ebd53ee3f21ae117e6952204e465f46d8;p=pandora-kernel.git 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 Signed-off-by: Avi Kivity --- Reading git-diff-tree failed