KVM: MMU: fix kvm_mmu_slot_remove_write_access dropping intermediate W bits
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Fri, 4 Mar 2011 10:56:41 +0000 (18:56 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:32 +0000 (13:08 -0300)
commitda8dc75f0c4663a568a0ed4e744c6d55d428d8b6
treeec0caa9ac963af4d8c1a58d3f7e6933a80699e11
parent38a778aa1899b9c6cf3e300a02782c9b78c547ab
KVM: MMU: fix kvm_mmu_slot_remove_write_access dropping intermediate W bits

Only remove write access in the last sptes.

Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/mmu.c