KVM: MMU: fix kvm_mmu_zap_page() and its calling path
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Fri, 16 Apr 2010 08:34:42 +0000 (16:34 +0800)
committerAvi Kivity <avi@redhat.com>
Tue, 20 Apr 2010 09:59:32 +0000 (12:59 +0300)
This patch fix:

- calculate zapped page number properly in mmu_zap_unsync_children()
- calculate freeed page number properly kvm_mmu_change_mmu_pages()
- if zapped children page it shoud restart hlist walking

KVM-Stable-Tag.
Signed-off-by: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>

No differences found