From: Avi Kivity Date: Tue, 13 Jul 2010 11:27:10 +0000 (+0300) Subject: KVM: MMU: Validate all gptes during fetch, not just those used for new pages X-Git-Tag: v2.6.36-rc1~580^2~14 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5991b33237b7fc7dd9f62ae04998c42217d444a7;p=pandora-kernel.git KVM: MMU: Validate all gptes during fetch, not just those used for new pages Currently, when we fetch an spte, we only verify that gptes match those that the walker saw if we build new shadow pages for them. However, this misses the following race: vcpu1 vcpu2 walk change gpte walk instantiate sp fetch existing sp Fix by validating every gpte, regardless of whether it is used for building a new sp or not. Signed-off-by: Avi Kivity Signed-off-by: Marcelo Tosatti --- Reading git-diff-tree failed