Re: level in kvm_mmu_page_role

Avi Kivity
2012-02-14T15:18:56Z

On 02/13/2012 11:30 PM, Sanidhya Kashyap wrote:
> I have been going through the kvm code but didn't get the significance
> of level in kvm_mmu_page_role. So, it would be nice if anyone can
> explain it what is its use?
>
>

It's the page table level. Level 1 contains page table entries pointing
to 4k pages. Level 2 contains page directory entries pointing to level
1 page tables, or pointers to 2M pages, and so forth.

--
error compiling committee.c: too many arguments to function