commit | bc32ce2152406431acf4daf4a81dc1664bb7b91b | [log] [tgz] |
---|---|---|
author | Xiao Guangrong <xiaoguangrong@cn.fujitsu.com> | Sat Aug 28 19:22:46 2010 +0800 |
committer | Avi Kivity <avi@redhat.com> | Sun Oct 24 10:51:47 2010 +0200 |
tree | ae2f6737d56c8d977485489d58d08b3528fd2d6e | |
parent | 0beb8d660425aab339ff68e6f4d4528739e8fc4f [diff] |
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 <xiaoguangrong@cn.fujitsu.com> Signed-off-by: Avi Kivity <avi@redhat.com>