Skip to contentSkip to conversation

what shadow_promote does

DISCUSSION jeet 1 participant 1 message Feb 26, 2007

lore
Share & tools
lore

jeet

author
#0 lore raw

Hi All,

what is mean by promote a page in shadow code? i.e when the shadow_promote() is call and what exactly it do? Does promotion mean the faulting page is guest page table page create a shadow page table page for it and the remove write access mapping of that Guest Page Table page and set it type as PT.

So next time if guest make any entry in in this page tabe page trap it in xen. does emulation function (emulate_memop()) only called to emulate write to this GPT page?

So when the page is demoted again ie when shadow_demote() is called?

thanks in advance

jeet

__________________________________________________________
Yahoo! India Answers: Share what you know. Learn something new
http://in.answers.yahoo.com/