On Thu, Oct 07, 2010 at 03:10:27PM +0200, Avi Kivity wrote:
> On 10/04/2010 05:56 PM, Gleb Natapov wrote:
> >When async PF capability is detected hook up special page fault handler
> >that will handle async page fault events and bypass other page faults to
> >regular page fault handler. Also add async PF handling to nested SVM
> >emulation. Async PF always generates exit to L1 where vcpu thread will
> >be scheduled out until page is available.
> >
>
> Please separate guest and host changes.
>
Hmm. There are only guest changes here as far as I can see.
arch/x86/include/asm/kvm_para.h | 12 +++
arch/x86/include/asm/traps.h | 1 +
arch/x86/kernel/entry_32.S | 10 ++
arch/x86/kernel/entry_64.S | 3 +
arch/x86/kernel/kvm.c | 184 ++++++++++++++++++++++++++++++++++++++-
arch/x86/kvm/svm.c | 43 +++++++--