Skip to contentSkip to conversation

page_info structure in Xen

DISCUSSION Carol Gao 2 participants 2 messages Aug 7, 2006 – Aug 8, 2006

lore
Share & tools
lore

Carol Gao

author
#0 lore raw

In the file xen/include/asm-x86/mm.h, a "page_info" structure is defined. I am wondering when the PGT_type is set to be PGT_none and when it is set to be PGT_writable_page?

Thanks.

#1 lore raw
Quoted 3 lines · Carol Gao

In the file xen/include/asm-x86/mm.h, a "page_info" structure is defined. I am wondering when the PGT_type is set to be PGT_none and when it is set to be PGT_writable_page?

It is set to PGT_writable_page when any guest has a writable mapping of that page. If the page is read only then it has type PGT_none.

-- Keir