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] create shadow pages

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] create shadow pages
From: ding baozeng <baozengding@xxxxxxxxx>
Date: Thu, 4 Nov 2010 20:30:04 +0800
Delivery-date: Thu, 04 Nov 2010 05:32:07 -0700
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=H0IAJTL5BRUj4JxuSweBcNsoF+z3oGTSEdxn0bsO4yM=; b=rrH5Giqkhi6RRMtetdTuiwjBqn8/CxwZFrzpeQt8D3PNbk+Pz9PeOwGw/KGh3qombH WyurwZ/DiZZw7siQxDdgrwXK+ZAmg0B4Jcu6SV1uTkZH+/NHKVD4Y+kv3CnKdUbCy51D KNfUQiXTUUEEFcaUf4UnBRjf6ASYt77uX4xr4=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Pwg+EGcOmTqVcs6PSaYcoN4EusWYAnj6ra7bcNxnd3q3fu5F7jOgQTm8Pk4yBm8a1q 8q1EPbt3UClQEnhKcqJu33fX/tiPiGFJWVOJBdUvKsPiTsoTC/mhYZED+xy4LjI0ReJL SCn4T2oPZNlHwtmmlisJNqQR08ufibzxTC8dQ=
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 alloc some memory (some pages)in the hvm domU kernel space, but not map it. So the kernel space could not access the memory by its guest tables. But I
would access it by shadow pages for some use. When the shadow pages are built, they should be in memory always and should not be paged out.
Then how to create the shadow pages for the memory? My hvm is 32 bit , with PAE, So sl3,sl2,sl1 shadow pages  need to be created, which API should I use?
ps, I took a look at the code of shadow table, especially multi.c, gust_walk.c, common.c, but still have no solution.

Best Regards,

                                            Baozeng Ding
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>