From mboxrd@z Thu Jan 1 00:00:00 1970 From: chrisbenninger Subject: MULTI_mmu_update, HYPERVISOR_mmu_update and pte entry Date: Thu, 12 May 2011 15:41:43 -0700 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1712574163==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============1712574163== Content-Type: multipart/alternative; boundary=20cf305643137b96ad04a31be6b3 --20cf305643137b96ad04a31be6b3 Content-Type: text/plain; charset=ISO-8859-1 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 --20cf305643137b96ad04a31be6b3 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi, I am working on being able to determine which process owns a PTE b= eing changed during each MMU update in 64-bit paravirtualized mode. I have = a couple questions here.

1. When a linux DomU want= s 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 up= date has a unint64_t ptr=A0 which is a machine address to the PTE be= ing 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

--20cf305643137b96ad04a31be6b3-- --===============1712574163== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============1712574163==--