KVM: Clear async page fault hash after switching to real mode
authorLai Jiangshan <laijs@cn.fujitsu.com>
Mon, 21 Feb 2011 03:21:30 +0000 (11:21 +0800)
committerMarcelo Tosatti <mtosatti@redhat.com>
Thu, 17 Mar 2011 16:08:31 +0000 (13:08 -0300)
commitd170c4190630bcbeb5db266e79ad7a174902e5de
tree29f190084b646b11b401ecdbf355679e356d67d5
parent93ea5388ead5d7b87f54b8de53e35231acec8bbe
KVM: Clear async page fault hash after switching to real mode

The hash array of async gfns may still contain some left gfns after
kvm_clear_async_pf_completion_queue() called, need to clear them.

Signed-off-by: Lai Jiangshan <laijs@cn.fujitsu.com>
Acked-by: Gleb Natapov <gleb@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/kvm/x86.c