Re: [PATCH 07/11] Retry fault before vmentry

2009-11-02 Thread Avi Kivity
On 11/01/2009 01:56 PM, Gleb Natapov wrote: When page is swapped in it is mapped into guest memory only after guest tries to access it again and generate another fault. To save this fault we can map it immediately since we know that guest is going to access the page. diff --git a/arch/x86/

[PATCH 07/11] Retry fault before vmentry

2009-11-01 Thread Gleb Natapov
When page is swapped in it is mapped into guest memory only after guest tries to access it again and generate another fault. To save this fault we can map it immediately since we know that guest is going to access the page. Signed-off-by: Gleb Natapov --- arch/x86/include/asm/kvm_host.h |4 +