[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] Clarification Guest Paging Table WriteProtection


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: "Amit Dang" <amitd@xxxxxxxxxxxxx>
  • Date: Tue, 12 May 2009 09:45:51 -0700
  • Delivery-date: Tue, 12 May 2009 09:46:18 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>
  • Thread-index: AcnTIRvePoBlobrKRCWY2wI6q1ZqQQ==
  • Thread-topic: Clarification Guest Paging Table WriteProtection

Hi,

    I am new to Xen and trying to understand how Shadow Paging works. I require
clarification on following point:

 

How does Xen write protect guest page table?

What I could understand reading code & other sources is that, when ever cr3 gets
updated, control gets transferred to the hypervisor which then does the
emulation for the instruction and write protects the guest page table. But the
confusion is, cr3 contains Pseudo-physical address of the guest page table, but
to protect this page protection bit is required to be set in its page table
entry. How does Xen get page table entry for the address in cr3?

 

Thanks in advance,

Dang

 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.