From: Dong, Eddie Date: Mon, 7 Jan 2008 09:14:20 +0000 (+0200) Subject: KVM: MMU: Update shadow ptes on partial guest pte writes X-Git-Tag: v2.6.26-rc1~1028^2~146 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=489f1d6526ab68ca1842398fa3ae95c597fe3d32;p=pandora-kernel.git KVM: MMU: Update shadow ptes on partial guest pte writes A guest partial guest pte write will leave shadow_trap_nonpresent_pte in spte, which generates a vmexit at the next guest access through that pte. This patch improves this by reading the full guest pte in advance and thus being able to update the spte and eliminate the vmexit. This helps pae guests which use two 32-bit writes to set a single 64-bit pte. [truncation fix by Eric] Signed-off-by: Yaozu (Eddie) Dong Signed-off-by: Feng (Eric) Liu Signed-off-by: Avi Kivity --- Reading git-diff-tree failed