From: Xiao Guangrong Date: Sat, 28 Aug 2010 11:22:46 +0000 (+0800) Subject: KVM: MMU: fix wrong not write protected sp report X-Git-Tag: v2.6.37-rc1~142^2~128 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bc32ce2152406431acf4daf4a81dc1664bb7b91b;p=pandora-kernel.git KVM: MMU: fix wrong not write protected sp report The audit code reports some sp not write protected in current code, it's just the bug in audit_write_protection(), since: - the invalid sp not need write protected - using uninitialize local variable('gfn') - call kvm_mmu_audit() out of mmu_lock's protection Signed-off-by: Xiao Guangrong Signed-off-by: Avi Kivity --- Reading git-diff-tree failed