From: Prashanth Bungale Subject: xc_map_foreign_range with mfn? Date: Thu, 12 Apr 2007 13:18:52 -0400 (EDT) Message-ID: <20070412130940.H75465@bowser.eecs.harvard.edu> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed 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 I am using Xen 3.0.4 vmx (on Intel VT). I need to map in a foreign page, given its mfn (not gpfn), into dom0. I used to do this quite well with Xen 3.0.2. However, when I ported my code to Xen 3.0.4, things seem to have changed. Does xc_map_foreign_range accept an mfn or a gpfn as its argument? It seems to be accepting gpfn in 3.0.4. Is that true? If so, can anyone please suggest a way for me to map in a foreign page, given its mfn, on to dom0? The reason I need to be able to do this is that I have allocated some machine pages inside Xen (through a new dom0 op hypercall that I added), that are supposed to be unknown to the guest (for transparency reasons), and hence do not have gpfn's in the guest mapping to them. Thanks in advance for your help. - Prashanth.