From: Marcelo Tosatti Date: Wed, 11 Jun 2008 23:32:40 +0000 (-0300) Subject: KVM: MMU: large page update_pte issue with non-PAE 32-bit guests (resend) X-Git-Tag: v2.6.26-rc8~3^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3094538739415a9225afd2a6c78cb0fe1c1f641b;p=pandora-kernel.git KVM: MMU: large page update_pte issue with non-PAE 32-bit guests (resend) kvm_mmu_pte_write() does not handle 32-bit non-PAE large page backed guests properly. It will instantiate two 2MB sptes pointing to the same physical 2MB page when a guest large pte update is trapped. Instead of duplicating code to handle this, disallow directory level updates to happen through kvm_mmu_pte_write(), so the two 2MB sptes emulating one guest 4MB pte can be correctly created by the page fault handling path. Signed-off-by: Marcelo Tosatti Signed-off-by: Avi Kivity --- Reading git-diff-tree failed