[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] create shadow pages


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: ding baozeng <baozengding@xxxxxxxxx>
  • Date: Thu, 4 Nov 2010 20:30:04 +0800
  • Delivery-date: Thu, 04 Nov 2010 05:32:07 -0700
  • 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=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.