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] address translation in hvm mode

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] address translation in hvm mode
From: rajneesh rana <rajneeshrana009@xxxxxxxxx>
Date: Tue, 29 Jan 2008 04:54:51 -0800 (PST)
Delivery-date: Tue, 29 Jan 2008 04:55:19 -0800
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=gAgWqdliAgQm3gXwsrCZi4FUWGT2TzSSUeNCfQhH53tNOsQD2xnIMIE3rtp0HE4AUJz8FY3/GIYPUHaPZEB9bNRtm9aGhn+wRCCGXvryzh/E6QGItWbAUW/sk5ZtbEdfPMcfObZlcNEn5JCE5URgCuxoQqrS0M81DhDbOneaA0Q=;
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
hello all,

i am  new to xen-development and currently trying to understand memory mgmt in hvm mode
I am writing a hypercall which takes input of virtual address of domu. hypercall translate this address to machine and return 4kb page from thereafter.
Inside hypercall, i m using  paging_gva_to_gfn function but it returns -1 instead of returning valid gfn.

what wrong with my approach.


Looking for last minute shopping deals? Find them fast with Yahoo! Search.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>