KVM: fix searching async gfn in kvm_async_pf_gfn_slot
authorXiao Guangrong <xiaoguangrong@cn.fujitsu.com>
Mon, 1 Nov 2010 09:00:30 +0000 (17:00 +0800)
committerAvi Kivity <avi@redhat.com>
Wed, 12 Jan 2011 09:28:59 +0000 (11:28 +0200)
commitc7d28c24042f7969adc29147d6c0a190192a6808
tree7c4400eefa230cfd9934608343ccdda2c1fddc6f
parent0730388b97d20cc568c25b42b9a23b28959b481f
KVM: fix searching async gfn in kvm_async_pf_gfn_slot

Don't search later slots if the slot is empty

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