Marcelo Tosatti wrote:
> Hypercall based pte updates are faster than faults, and also allow use
> of the lazy MMU mode to batch operations.
>
> Don't report the feature if two dimensional paging is enabled.
>
> Signed-off-by: Marcelo Tosatti <[EMAIL PROTECTED]>
> +/*
> + * We only need to hook operations that are MMU writes.  We hook these so 
> that
> + * we can use lazy MMU mode to batch these operations.  We could probably
> + * improve the performance of the host code if we used some of the 
> information
> + * here to simplify processing of batched writes.
> + */
>   

One option is, if the guest promises never to write to a page table 
directly, is to avoid write protecting guest page tables.  I think the 
shadow code can handle it (since the gfn/spte relationship is maintained 
by shadow code, and doesn't require reading the guest page tables), but 
am not sure.

-- 
Any sufficiently difficult bug is indistinguishable from a feature.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
kvm-devel mailing list
kvm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/kvm-devel

Reply via email to