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

[Xen-devel] [Shadow Paging] Clarification Guest Paging Table Write Protection


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Amit Dang <amitdang@xxxxxxxxxxx>
  • Date: Thu, 30 Apr 2009 13:52:07 +0000
  • Delivery-date: Thu, 30 Apr 2009 06:52:36 -0700
  • Importance: Normal
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

How does Xen write protects 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 Pseuso-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


How fun is this? IMing with Windows Live Messenger just got better.
_______________________________________________
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®.