Rik van Riel wrote:
> On Mon, 21 Jan 2008 18:05:53 +0200
> Izik Eidus <[EMAIL PROTECTED]> wrote:
>
>   
>> i added 2 new functions to the kernel
>> one:
>> page_wrprotect() make the page as read only by setting the ptes point to
>> it as read only.
>> second:
>> replace_page() - replace the pte mapping related to vm area between two 
>> pages
>>     
>
> How will this work on CPUs with nested paging support, where the
> CPU does the guest -> physical address translation?  (opposed to
> having shadow page tables)
>
>   

Nested page tables are very similar to real-mode shadow paging: both 
translate guest physical addresses to host physical addreses.

In any case, the merge driver is oblivious to the paging method used, it 
works at the Linux pte level and relies on mmu notifiers to keep 
everything in sync.

-- 
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