From: Avi Kivity Date: Thu, 28 Jul 2011 08:36:17 +0000 (+0300) Subject: KVM: MMU: Do not unconditionally read PDPTE from guest memory X-Git-Tag: v3.2-rc1~119^2~57 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4e517b4be019787ada4cbbce2f04570c21b0cbd;p=pandora-kernel.git KVM: MMU: Do not unconditionally read PDPTE from guest memory Architecturally, PDPTEs are cached in the PDPTRs when CR3 is reloaded. On SVM, it is not possible to implement this, but on VMX this is possible and was indeed implemented until nested SVM changed this to unconditionally read PDPTEs dynamically. This has noticable impact when running PAE guests. Fix by changing the MMU to read PDPTRs from the cache, falling back to reading from memory for the nested MMU. Signed-off-by: Avi Kivity Tested-by: Joerg Roedel Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed