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-devel

[Xen-devel] MULTI_mmu_update, HYPERVISOR_mmu_update and pte entry

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] MULTI_mmu_update, HYPERVISOR_mmu_update and pte entry
From: chrisbenninger <chrisbenninger@xxxxxxxxx>
Date: Thu, 12 May 2011 15:41:43 -0700
Delivery-date: Thu, 12 May 2011 15:43:07 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:from:date:message-id:subject:to :content-type; bh=m7/dK2NNc4haIHmlSMBLB8aBEqw6wxaA8ZlE5PNkqXA=; b=b/2Hjx5N7EiundFz/B3QxjCXoDxksvdzWN5Zj5hiJv2Sr3jb0BgVoZSsYMNv4EPuiw r8DdPzWdvlGxQR8Y4MZ1nQoXqX+UWSlRKnNfiHul/uWeoyaGEw20SG+p/TF9Ora90mm3 gHu3WlRxp9EPY+MCej0hd1do9hgAWaZJzOOZI=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; b=MTeRlaTxFi67lLuBaCAUxZYoEu0e4KWGxl8cPZua2gCkgO4vDbJhFOVjZgnvWiDVgN SDb/E1472ZHsfiUt1IpXLzovYxbLuesdtuR9Hpz4A15QlVWXrRakMOi0fVgQSHhIo4UW 5Geu/jeKGYbtnxp3Wxzy6iCqsAZZ7F+UmPS9k=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi, I am working on being able to determine which process owns a PTE being changed during each MMU update in 64-bit paravirtualized mode. I have a couple questions here.

1. When a linux DomU wants to make an update to a PTE, it calls HYPERVISOR_mmu_update? In my case it appears to be calling MULTI_mmu_update mostly. Are these two functions the only primary ways a VM will ask for an MMU update?

2. The mmu_update struct that comes along with a MMU update has a unint64_t ptr  which is a machine address to the PTE being changed. Is there any way to use this machine address and determine the pte_t or page from within a DomU?

Thanks for any help you can give!

Chris Benninger

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