Re: [PATCH][RFC]: pte notifiers -- support for external page tables

Avi Kivity
2007-09-05T19:35:52Z

Rik van Riel wrote:
>>
>> I imagine that many of the paravirt_ops mmu hooks will need to be
>> exposed as pte notifiers. This can't be done as part of the
>> paravirt_ops code due to the need to pass high level data structures,
>> though.
>
> Wait, I thought that paravirt_ops was all on the side of the
> guest kernel, where these host kernel operations are invisible?
>

It is, but the hooks are in much the same places. It could be argued
that you'd embed pte notifiers in paravirt_ops for a host kernel, but
that's not doable because pte notifiers use higher-level data strutures
(like vmas).