lkml.org 
[lkml]   [2010]   [Oct]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v6 08/12] Handle async PF in a guest.
On Sun, Oct 10, 2010 at 02:38:58PM +0200, Avi Kivity wrote:
> On 10/10/2010 02:32 PM, Gleb Natapov wrote:
> >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.
>
> From the diffstat:
>
> > 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 +++++++--
>
> svm.c is host code.
>
Not exactly :) It is a host code from nested guest perspective, but
guest code from L0 perspective.

--
Gleb.


\
 
 \ /
  Last update: 2010-10-10 15:27    [W:0.034 / U:0.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site