KVM: MMU: use page array in unsync walk
authorMarcelo Tosatti <mtosatti@redhat.com>
Tue, 2 Dec 2008 00:32:02 +0000 (22:32 -0200)
committerAvi Kivity <avi@redhat.com>
Wed, 31 Dec 2008 14:55:43 +0000 (16:55 +0200)
commit60c8aec6e2c9923492dabbd6b67e34692bd26c20
treefa2d3b7f90f8dff8669a6fb6c85a41b9afb0f4c5
parentfbce554e940a983d005e29849636d0ef54b3eb18
KVM: MMU: use page array in unsync walk

Instead of invoking the handler directly collect pages into
an array so the caller can work with it.

Simplifies TLB flush collapsing.

Signed-off-by: Marcelo Tosatti <mtosatti@redhat.com>
Signed-off-by: Avi Kivity <avi@redhat.com>
arch/x86/include/asm/kvm_host.h
arch/x86/kvm/mmu.c