KVM: MMU: avoid double write protected in sync page path
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Fri, 11 Jun 2010 13:30:36 +0000 (21:30 +0800)
committerAvi Kivity <avi@redhat.com>
Sun, 1 Aug 2010 07:46:41 +0000 (10:46 +0300)
commitf918b443527e98476c8cc45683152106b9e4bedc
treeae0e259b0cdea62ac0096351efccbd0da4c42be4
parentcb83cad2e7e1cdedb2abb9cef2ac076defa679d4
KVM: MMU: avoid double write protected in sync page path

The sync page is already write protected in mmu_sync_children(), don't
write protected it again

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
arch/x86/kvm/mmu.c