From mboxrd@z Thu Jan 1 00:00:00 1970 From: tgh Subject: Re: PV guest + shadow paging Date: Mon, 22 Oct 2007 19:01:14 +0800 Message-ID: <471C82FA.7040104@ncic.ac.cn> References: <20070728115823.HM.0000000000000PK@levin.johnson.bos-mail-wwl24.lycos.com> <8A87A9A84C201449A0C56B728ACF491E2600F1@liverpoolst.ad.cl.cam.ac.uk> <1185777299.4314.25.camel@cthulhu.hellion.org.uk> <20070730081523.GA24708@york.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20070730081523.GA24708@york.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Tim Deegan , Ian Campbell , Ian Pratt Cc: xen-devel@lists.xensource.com, Levin Johnson List-Id: xen-devel@lists.xenproject.org hi what is the auto_translated_physmap ?how does it work?and what about=20 other mechanisms and how many mechanisms for paging are there in xen ? Thank you in advance Tim Deegan =E5=86=99=E9=81=93: > At 07:34 +0100 on 30 Jul (1185780899), Ian Campbell wrote: > =20 >> Adding >> features =3D "auto_translated_physmap|writable_page_tables" >> to the config file should add those features to the set passed to the >> guest. I can't remember which set you would need to enable shadow mode= , >> you may have to dig round in the builder and/or hypervisor to figure i= t >> out. >> =20 > > IIRC, "auto_translated_physmap" turns on both shadow mode and > auto-translation. You could enable just the shadowing without the > auto-translation by changing tools/libxc/xc_dom_x86.c to remove > XEN_DOMCTL_SHADOW_ENABLE_TRANSLATE from the "mode" argument to > xc_shadow_control(). > > =20 >> However I'm not sure shadow mode (other than log-dirty) isn't broken f= or >> PV guests. It's been a long time since I tried it but it was broken ba= ck >> when the paravirt_ops tree was still trying to use it. >> =20 > > Auto-translate was (briefly) fixed at that time too, but I'm quite sure > it doesn't work in the current tree. Some people had this kind of thin= g > going for academic research projects; maybe one of them can comment. > > Cheers, > > Tim. > > =20