On 08/24/2012 03:29 PM, 陳韋任 (Wei-Ren Chen) wrote:
> Hi Guangrong,
>
> I am not familiar with the term used in paging world, so I need to ask
> some dumb questions.
>
>> It is controlled by shadow page table, guest-page-tables are write-protected
>> on shadow pages (the W bit on PTE is cleared).
Hi Guangrong,
I am not familiar with the term used in paging world, so I need to ask
some dumb questions.
> It is controlled by shadow page table, guest-page-tables are write-protected
> on shadow pages (the W bit on PTE is cleared).
O.K.
> There has a special case, called unsync shadow pa
On 08/14/2012 11:54 AM, 陳韋任 (Wei-Ren Chen) wrote:
> Hi all,
>
> If guest modify its guest page table entry, KVM should trap that event,
> emulate what guest trying to do, and sync with the corresponding shadow
> page table entry. Is my understanding correct? If so, does KVM use
> something like
Hi all,
If guest modify its guest page table entry, KVM should trap that event,
emulate what guest trying to do, and sync with the corresponding shadow
page table entry. Is my understanding correct? If so, does KVM use
something like mprotect to make guest page table read-only, or there is
anoth