WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-research

[Xen-research] When to emulate_memop() and when to do_update_va_mapping(

To: <xen-research@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-research] When to emulate_memop() and when to do_update_va_mapping()
From: "Tom Creck" <tom-xen@xxxxxxxxxxx>
Date: Thu, 3 Jul 2008 16:12:51 +0800
Delivery-date: Thu, 03 Jul 2008 01:13:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-research-request@lists.xensource.com?subject=help>
List-id: Research Issues on Xen <xen-research.lists.xensource.com>
List-post: <mailto:xen-research@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-research>, <mailto:xen-research-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-research>, <mailto:xen-research-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-research-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acjc5JZiM4k/G0iKSD2qYIqbNY7L8Q==

Hello, everyone:

 

         I know that x86_emulate_memop() is used to emulate writing to page table pages as Xen intentionally write protect page table pages.

         Also, the hypercall Hypervisor_update_va_mapping() -> mod_l2/l1_entry() is also used to modify page table pages.

         So I get confused about their difference. My questions are:

 

(1)     When are the above two routines of modifying page table pages invoked respectively?

(2)     What’s the difference in functionality among the two?

 

Best Wishes

Tom

 

 

_______________________________________________
Xen-research mailing list
Xen-research@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-research
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-research] When to emulate_memop() and when to do_update_va_mapping(), Tom Creck <=