From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paradox Subject: map_domain_va and map problem with address mapped. Date: Wed, 14 Nov 2007 15:05:08 +0100 Message-ID: <473B0094.2060701@cheapnet.it> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: 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 Hi I have some problem about access a guest location memory using map_domain_va function. My situation is next: I have a simple program running in domU, I retrieve a guest virtual address for a struct value and I pause the domain (when I pause the domU the interested program still run...). So I call map_domain_va function that call map_domain_va_pae. It seems that everything works properly because I obtain an address (PT walk don't fails...), but If I try to access this address I find a "strange" value. For example: domU guest address: 0xbfd38838 a location that contains an int, for example 10. Address mapped returned by map_domain_va: 0xb7fac838 If I access the pointer returned above I obtain: 0xbfd38858 (very similar to domU guest address...). Perhaps I did not understand something, but I should not obtain 10? Tnx in advance. Best Regards