From: Xiao Guangrong Date: Fri, 12 Nov 2010 06:47:01 +0000 (+0800) Subject: KVM: MMU: clear apfs if page state is changed X-Git-Tag: v2.6.38-rc1~244^2~95 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e5f3f027960128035a5fa176877b5e9160b35397;p=pandora-kernel.git KVM: MMU: clear apfs if page state is changed If CR0.PG is changed, the page fault cann't be avoid when the prefault address is accessed later And it also fix a bug: it can retry a page enabled #PF in page disabled context if mmu is shadow page This idear is from Gleb Natapov Signed-off-by: Xiao Guangrong Signed-off-by: Avi Kivity --- Reading git-diff-tree failed