From: jeet Subject: Re: paging mechanism clarification Date: Wed, 14 Mar 2007 11:49:48 +0530 (IST) Message-ID: <529094.63120.qm@web8803.mail.in.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0057499462==" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Mime-version: 1.0 Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Pradeep Singh, TLS-Chennai" , Mark Williamson Cc: "Petersson, Mats" , xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org --===============0057499462== Content-Type: multipart/alternative; boundary="0-565723875-1173853188=:63120" --0-565723875-1173853188=:63120 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi Pradeep,=0A=0AI think you must be looking into xen code version older th= an 3.0.4=0Ain which both guest and shadow is using same page frame info str= ucture page_info=0Adefined in \xen\include\asm-x86\mm.h=0A=0AJeet=0A----- O= riginal Message ----=0AFrom: "Pradeep Singh, TLS-Chennai" =0ATo: Mark Williamson =0ACc: "Petersson, Ma= ts" ; xen-devel@lists.xensource.com=0ASent: Wednesd= ay, 14 March, 2007 9:51:53 AM=0ASubject: RE: [Xen-devel] paging mechanism c= larification=0A=0ARE: [Xen-devel] paging mechanism clarification=0A=0A=0A = =0A =0A=0A=0A=0A=0A=0A=0A-----Original Message-----=0A=0AFrom: M.A. William= son on behalf of Mark Williamson=0A=0ASent: Wed 14-Mar-07 9:25 AM=0A=0ATo: = Pradeep Singh, TLS-Chennai=0A=0ACc: xen-devel@lists.xensource.com; Petersso= n, Mats=0A=0ASubject: Re: [Xen-devel] paging mechanism clarification=0A=0A= =0A=0A=0A=0A> The most important difference is that in PV mode the pagetab= les the guest=0A=0A> generates are directly used by the host processor. F= or this reason, there=0A=0A> are various changes required to the way the g= uest updates its pagetables.=0A=0A> The most important of these is that th= e guest must translate its=0A=0A> pseudophysical addresses to host machine= addresses before filling out page=0A=0A> table entries.=0A=0A>=0A=0A> Th= anks for the clarification Mark.=0A=0A> But Isn't Xen hypevisor supposed t= o do this translation of pseuophysical=0A=0A> addresses to host machine add= ress, instead of the guest itself?=0A=0A=0A=0ANot for paravirtualised (Xen-= aware) guests. They handle their own=0A=0Atranslations, which makes it pos= sible to eliminate shadow paging entirely for=0A=0Athem; this is a benefit = to performance. Shadow pagetables are normally only=0A=0Aused for a PV gue= st when live migration is in progress.=0A=0A=0A=0ANow again i am confused := -(.=0A=0Ayou mean shadow tables are not used at all in case of PV guests if= i am not using live migration at all?=0A=0AThey are used as default only i= n case of HVM guests, with or without live migration right?=0A=0A=0A=0AOne = more thing, where can i find code related to this shadow page table handlin= g in my source code?=0A=0ACouldn't find even the shadow page struct in my s= ource.but it was available on the lxr repo on xensource.=0A=0A=0A=0AThank y= ou very much=0A=0A--pradeep=0A=0A=0A=0AHTH,=0A=0ACheers,=0A=0AMark=0A=0A=0A= =0A> Thank you=0A=0A> --pradeep=0A=0A>=0A=0A> In PV mode, pages that are= currently part of a pagetable are only ever=0A=0A> allowed to be mapped re= adonly in order to prevent tampering by the guest.=0A=0A>=0A=0A> Cheers,= =0A=0A> Mark=0A=0A>=0A=0A> > > > I hope i made myself clear.=0A=0A> > > = > Please enlighten me :-).=0A=0A> > > >=0A=0A> > > > When paging is enabl= ed, we use a shadow page-table, which is=0A=0A> > > > essentially=0A=0A> = > > > that the GUEST sees one page-table, and the processor another=0A=0A> = > > > (thanks to=0A=0A> > > > the fact that the hypervisor intercepts the= CR3 read/write=0A=0A> > >=0A=0A> > > operations,=0A=0A> > >=0A=0A> > >= > and when CR3 is read back by the guest, we don't send back the value=0A= =0A> > > > it's ACTUALLY POINTING TO IN THE PROCESSOR, but the value=0A=0A= > > >=0A=0A> > > that was set=0A=0A> > >=0A=0A> > > > by the guest). So= there are two page-tables.=0A=0A> > > >=0A=0A> > > > Got this well, than= ks Mats :).=0A=0A> > > >=0A=0A> > > > To make the page-table updates by t= he guest visible to the=0A=0A> > >=0A=0A> > > hypervisor,=0A=0A> > >=0A= =0A> > > > all of the guest-page-tables are made read-only (by scanning=0A= =0A> > > > the new CR3=0A=0A> > > > value whenever one is set).=0A=0A> >= > >=0A=0A> > > > I didn't get this either well :(=0A=0A> > > > sorry, bu= t do you mean CR3 for the guest or for the=0A=0A> > > > processor? i hope = you mean guest?=0A=0A> > >=0A=0A> > > Yes, scan the guest-CR3 to see wher= e it placed the page-tables.=0A=0A> > >=0A=0A> > > > Whenever a page-faul= t happens, the hypervisor has "first look", and=0A=0A> > > > determines if= the update is for a page-table or not. If it is a=0A=0A> > > > page-table= update, the guest operation is emulated (in=0A=0A> > >=0A=0A> > > x86_em= ulate.c),=0A=0A> > >=0A=0A> > > > and the result is written to the shadow= -page-table AND the=0A=0A> > > >=0A=0A> > > > Why do we need emulation?so= me peculiar reason for emulating?=0A=0A> > > > Do you mean to say if i am = running a 32 bit domU on top of a=0A=0A> > > > 64 bit processor, the guest= operation for updating the page=0A=0A> > > > table is emulated by the hyp= ervisor.am i right?=0A=0A> > >=0A=0A> > > No, it's simply because we need= to see the result of the=0A=0A> > > instruction and=0A=0A> > > write it = to two places (with some modification in one of=0A=0A> > > those places).= =0A=0A> > > So if the code is doing, for example: "*pte |=3D 1;" (set a=0A= =0A> > > page-table-entry to "present"), we need to mark both the=0A=0A> = > > guest-page-table-entry to "present", and mark our=0A=0A> > > shadow-en= try "present"=0A=0A> > > (and perhaps do some other work too, but that's t= he minimum work=0A=0A> > > needed).=0A=0A> > >=0A=0A> > > This brings on= e more question in my mind.Why do we use pinning then?=0A=0A> >=0A=0A> > = I believe there's two types of pinning! Page-pinning, which is blocking=0A= =0A> > a page from being accessed in an incorrect way [again, I'm not 100%= sure=0A=0A> > how this works, or exactly what it does - just that it's a = term used in=0A=0A> > the general way I described in the previous sentence= ].=0A=0A> >=0A=0A> > > As i see at it.To avoid shadow page tables to be s= wapped out=0A=0A> > > before the page tables they actually point to are sw= apped.Am i right?=0A=0A> > >=0A=0A> > > But according to interface manual= ,-> to bind a vcpu to a=0A=0A> > > specific CPU in a SMP environment we us= e pining.But these two=0A=0A> > > look pretty orthogonal statements to me,= which means i may be=0A=0A> > > wrong :(.=0A=0A> > > Can somebody help m= e in this regard?=0A=0A> >=0A=0A> > CPU pinning is to tie a VCPU to a (se= t of) processor(s). For example,=0A=0A> > you may want to pin Dom0 to run = only on CPU0, and pin a DomU to run on=0A=0A> > CPU's 1,2 and 3. That way,= Dom0 is ALWAYS able to run on it's own CPU,=0A=0A> > and it's never in co= ntention about which CPU to use, and DomU can run on=0A=0A> > three CPU's = as much as it likes. You could have another DomU pinned to=0A=0A> > CPU 3 = if you wish. That means that CPU 1, 2 are exclusively for the=0A=0A> > fir= st DomU, whilst the second DomU shares CPU3 with the first DomU (so=0A=0A> = > they both get half the CPU performance of one CPU - on average over a=0A= =0A> > reasonable amount of time).=0A=0A> >=0A=0A> > --=0A=0A> > Mats= =0A=0A> >=0A=0A> > > Pointers to actual code will be of great help.=0A=0A= > > >=0A=0A> > > Thanks a lot Mats.=0A=0A> > > Thank you all.=0A=0A> > = >=0A=0A> > > --pradeep=0A=0A> > >=0A=0A> > > > Does this means on a x86 = platform this overkill or this=0A=0A> > > > emulation is skipped altogethe= r?=0A=0A> > > > Please bear with me as i am an absolute Xen newbie out her= e :-).=0A=0A> > >=0A=0A> > > No, it's ALWAYS used for all page-table writ= es, as far as I=0A=0A> > > understand.=0A=0A> > >=0A=0A> > > --=0A=0A> = > > Mats=0A=0A> > >=0A=0A> > > > guest-page-table, but in the shadow-page= -table, the value is=0A=0A> > > > modified to=0A=0A> > > > reflect the ac= tual address in machine-space, rather than what=0A=0A> > > > the guest=0A= =0A> > > > thinks it should be.=0A=0A> > > >=0A=0A> > > > In futuer vers= ions of AMD processors (and I believe Intel are=0A=0A> > > > working on=0A= =0A> > > > something very similar if not the same), there will be a mode= =0A=0A> > > > where the=0A=0A> > > > processor is able to work in "nested= paging mode", which means that=0A=0A> > > > there are two "parallel" page= -tables. The first one is the=0A=0A> > > > "guest-page-table", the second = one is the "host-page-table". In this=0A=0A> > > > case, every lookup in t= he guest-page-table will be done through the=0A=0A> > > > host-page-table.= So we have a "simple" way to just take the=0A=0A> > > > guest-page-table = and translate it to machine-physical-address=0A=0A> > > > - with the=0A=0A= > > > > good thing that the host-page-table needn't change, since the=0A= =0A> > > > pages that=0A=0A> > > > the host consists of is pretty much st= atic for the duration of the=0A=0A> > > > guest.=0A=0A> > > >=0A=0A> > >= > Yes, read about about this in an article mention how Pacifica=0A=0A> > = > > is better than VT.=0A=0A> > > >=0A=0A> > > > Say for example, we have= a guest that lives at 256-512MB. The=0A=0A> > > > guest-page-table would = contain, for example, a mapping for=0A=0A> > > > 0x12200000 ->=0A=0A> > >= > guest-physical 0x100000 (1MB). The host-page-table=0A=0A> > >=0A=0A> >= > translates this to=0A=0A> > >=0A=0A> > > > 0x10100000 because the 1MB = entry in guest-address is 256+1MB in=0A=0A> > > > machine-address.=0A=0A> = > > >=0A=0A> > > > Exactly, got this well on spot :).=0A=0A> > > >=0A=0A= > > > > [In reality, it's very likely that the guest never gets all=0A=0A>= > > > the space in=0A=0A> > > > one big chunk, but rather a few pages he= re and a few pages there. If=0A=0A> > > > there are big chunks, we could u= se large pages to map those!].=0A=0A> > > >=0A=0A> > > > Thanks a ton Mat= s and all.=0A=0A> > > >=0A=0A> > > > --pradeep=0A=0A> > > >=0A=0A> > > = > The support for nested paging (called HAP, Hardware Assisted=0A=0A> > > = > Paging) is=0A=0A> > > > in the Unstable version of Xen since a few days = back.=0A=0A> > > >=0A=0A> > > > --=0A=0A> > > > Mats=0A=0A> > > >=0A=0A= > > > > > And this whole 2 level paging consitutes Xen's shadow page=0A=0A= > > > > > tables. Right?=0A=0A> > > > >=0A=0A> > > > > Is my understandi= ng of Xen's paging mechanism correct?or am i=0A=0A> > > > > missing someth= ing?=0A=0A> > > > >=0A=0A> > > > > Thank you=0A=0A> > > > >=0A=0A> > > = > > -pradeep=0A=0A> >=0A=0A> > __________________________________________= _____=0A=0A> > Xen-devel mailing list=0A=0A> > Xen-devel@lists.xensource.= com=0A=0A> > http://lists.xensource.com/xen-devel=0A=0A>=0A=0A> --=0A=0A>= Dave: Just a question. What use is a unicyle with no seat? And no pedals= !=0A=0A> Mark: To answer a question with a question: What use is a skatebo= ard?=0A=0A> Dave: Skateboards have wheels.=0A=0A> Mark: My wheel has a wh= eel!=0A=0A=0A=0A--=0A=0ADave: Just a question. What use is a unicyle with n= o seat? And no pedals!=0A=0AMark: To answer a question with a question: Wh= at use is a skateboard?=0A=0ADave: Skateboards have wheels.=0A=0AMark: My w= heel has a wheel!=0A=0A=0A=0A=0A=0A=0A=0ADISCLAIMER:=0A--------------------= ---------------------------------------------------------------------------= ------------------------=0A=0AThe contents of this e-mail and any attachmen= t(s) are confidential and intended for the named recipient(s) only.=0AIt sh= all not attach any liability on the originator or HCL or its affiliates. An= y views or opinions presented in =0Athis email are solely those of the auth= or and may not necessarily reflect the opinions of HCL or its affiliates.= =0AAny form of reproduction, dissemination, copying, disclosure, modificati= on, distribution and / or publication of =0Athis message without the prior = written consent of the author of this e-mail is strictly prohibited. If you= have=0Areceived this email in error please delete it and notify the sender= immediately. Before opening any mail and =0Aattachments please check them = for viruses and defect.=0A=0A----------------------------------------------= -------------------------------------------------------------------------= =0A_______________________________________________=0AXen-devel mailing list= =0AXen-devel@lists.xensource.com=0Ahttp://lists.xensource.com/xen-devel=0A= =0A=0A=0A=0A=0A=0A=0A=09=09=0A_____________________________________________= _____________=0AYahoo! India Answers: Share what you know. Learn something = new=0Ahttp://in.answers.yahoo.com/ --0-565723875-1173853188=:63120 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Pradeep,

I think you must be looking into= xen code version older than 3.0.4
in which both guest and shadow is usi= ng same page frame info structure page_info
defined in \xen\include\asm-= x86\mm.h

Jeet
----- Original Message ----
From: "Prade= ep Singh, TLS-Chennai" <pradeep_s@hcl.in>
To: Mark Williamson <= mark.williamson@cl.cam.ac.uk>
Cc: "Petersson, Mats" <Mats.Petersso= n@amd.com>; xen-devel@lists.xensource.com
Sent: Wednesday, 14 March, = 2007 9:51:53 AM
Subject: RE: [Xen-devel] paging mechanism clarification<= br>
RE: [Xen-devel] paging mechanism clarification=0A=0A= =0A =0A =0A=0A=0A=0A
=0A=0A

-----Original Message----= -
=0AFrom: M.A. Williamson on behalf of Mark Williamson
=0ASent: Wed = 14-Mar-07 9:25 AM
=0ATo: Pradeep Singh, TLS-Chennai
=0ACc: xen-devel@= lists.xensource.com; Petersson, Mats
=0ASubject: Re: [Xen-devel] paging = mechanism clarification
=0A
=0A
=0A>  The most important d= ifference is that in PV mode the pagetables the guest
=0A>  gene= rates are directly used by the host processor.  For this reason, there=
=0A>  are various changes required to the way the guest updates= its pagetables.
=0A>  The most important of these is that the g= uest must translate its
=0A>  pseudophysical addresses to host m= achine addresses before filling out page
=0A>  table entries.=0A>
=0A>  Thanks for the clarification Mark.
=0A>&nbs= p; But Isn't Xen hypevisor supposed to do this translation of pseuophysical=
=0A> addresses to host machine address, instead of the guest itself?=
=0A
=0ANot for paravirtualised (Xen-aware) guests.  They handle= their own
=0Atranslations, which makes it possible to eliminate shadow = paging entirely for
=0Athem; this is a benefit to performance.  Sha= dow pagetables are normally only
=0Aused for a PV guest when live migrat= ion is in progress.
=0A
=0ANow again i am confused :-(.
=0Ayou mea= n shadow tables are not used at all in case of PV guests if i am not using = live migration at all?
=0AThey are used as default only in case of HVM g= uests, with or without live migration right?
=0A
=0AOne more thing, w= here can i find code related to this shadow page table handling in my sourc= e code?
=0ACouldn't find even the shadow page struct in my source.but it= was available on the lxr repo on xensource.
=0A
=0AThank you very mu= ch
=0A--pradeep
=0A
=0AHTH,
=0ACheers,
=0AMark
=0A
=0A= >  Thank you
=0A>  --pradeep
=0A>
=0A> = In PV mode, pages that are currently part of a pagetable are only ever
= =0A> allowed to be mapped readonly in order to prevent tampering by the = guest.
=0A>
=0A>  Cheers,
=0A>  Mark
=0A>=
=0A>  > > > I hope i made myself clear.
=0A>&nbs= p; > > > Please enlighten me :-).
=0A>  > > ><= br>=0A>  > > > When paging is enabled, we use a shadow pag= e-table, which is
=0A>  > > > essentially
=0A>&nb= sp; > > > that the GUEST sees one page-table, and the processor an= other
=0A>  > > > (thanks to
=0A>  > >= > the fact that the hypervisor intercepts the CR3 read/write
=0A>=   > >
=0A>  > > operations,
=0A>  &g= t; >
=0A>  > > > and when CR3 is read back by the gu= est, we don't send back the value
=0A>  > > > it's ACTU= ALLY POINTING TO IN THE PROCESSOR, but the value
=0A>  > >=
=0A>  > > that was set
=0A>  > >
=0A&= gt;  > > > by the guest). So there are two page-tables.
= =0A>  > > >
=0A>  > > > Got this well,= thanks Mats :).
=0A>  > > >
=0A>  > >= > To make the page-table updates by the guest visible to the
=0A>=   > >
=0A>  > > hypervisor,
=0A>  &g= t; >
=0A>  > > > all of the guest-page-tables are ma= de read-only (by scanning
=0A>  > > > the new CR3
= =0A>  > > > value whenever one is set).
=0A>  &= gt; > >
=0A>  > > > I didn't get this either well= :(
=0A>  > > > sorry, but do you mean CR3 for the gues= t or for the
=0A>  > > > processor? i hope you mean gue= st?
=0A>  > >
=0A>  > > Yes, scan the gue= st-CR3 to see where it placed the page-tables.
=0A>  > >=0A>  > > > Whenever a page-fault happens, the hyperviso= r has "first look", and
=0A>  > > > determines if the u= pdate is for a page-table or not. If it is a
=0A>  > > >= ; page-table update, the guest operation is emulated (in
=0A>  &= gt; >
=0A>  > > x86_emulate.c),
=0A>  > &= gt;
=0A>  > > > and the result is written to the shadow= -page-table AND the
=0A>  > > >
=0A>  > &= gt; > Why do we need emulation?some peculiar reason for emulating?
= =0A>  > > > Do you mean to say if i am running a 32 bit do= mU on top of a
=0A>  > > > 64 bit processor, the guest = operation for updating the page
=0A>  > > > table is em= ulated by the hypervisor.am i right?
=0A>  > >
=0A>&= nbsp; > > No, it's simply because we need to see the result of the=0A>  > > instruction and
=0A>  > > write i= t to two places (with some modification in one of
=0A>  > >= ; those places).
=0A>  > > So if the code is doing, for ex= ample: "*pte |=3D 1;" (set a
=0A>  > > page-table-entry to= "present"), we need to mark both the
=0A>  > > guest-page= -table-entry to "present", and mark our
=0A>  > > shadow-e= ntry "present"
=0A>  > > (and perhaps do some other work t= oo, but that's the minimum work
=0A>  > > needed).
=0A&= gt;  > >
=0A>  > > This brings one more questio= n in my mind.Why do we use pinning then?
=0A>  >
=0A>&n= bsp; > I believe there's two types of pinning! Page-pinning, which is bl= ocking
=0A>  > a page from being accessed in an incorrect way= [again, I'm not 100% sure
=0A>  > how this works, or exactly= what it does - just that it's a term used in
=0A>  > the gen= eral way I described in the previous sentence].
=0A>  >
= =0A>  > > As i see at it.To avoid shadow page tables to be sw= apped out
=0A>  > > before the page tables they actually p= oint to are swapped.Am i right?
=0A>  > >
=0A> = > > But according to interface manual,-> to bind a vcpu to a
= =0A>  > > specific CPU in a SMP environment we use pining.But= these two
=0A>  > > look pretty orthogonal statements to = me, which means i may be
=0A>  > > wrong :(.
=0A>&nb= sp; > > Can somebody help me in this regard?
=0A>  >=0A>  > CPU pinning is to tie a VCPU to a (set of) processor(s)= . For example,
=0A>  > you may want to pin Dom0 to run only o= n CPU0, and pin a DomU to run on
=0A>  > CPU's 1,2 and 3. Tha= t way, Dom0 is ALWAYS able to run on it's own CPU,
=0A>  > an= d it's never in contention about which CPU to use, and DomU can run on
= =0A>  > three CPU's as much as it likes. You could have another = DomU pinned to
=0A>  > CPU 3 if you wish. That means that CPU= 1, 2 are exclusively for the
=0A>  > first DomU, whilst the = second DomU shares CPU3 with the first DomU (so
=0A>  > they = both get half the CPU performance of one CPU - on average over a
=0A>=   > reasonable amount of time).
=0A>  >
=0A>&nb= sp; > --
=0A>  > Mats
=0A>  >
=0A>&nbs= p; > > Pointers to actual code will be of great help.
=0A> = ; > >
=0A>  > > Thanks a lot Mats.
=0A>  = > > Thank you all.
=0A>  > >
=0A>  > &= gt; --pradeep
=0A>  > >
=0A>  > > > Do= es this means on a x86 platform this overkill or this
=0A>  >= > > emulation is skipped altogether?
=0A>  > > >= Please bear with me as i am an absolute Xen newbie out here :-).
=0A>= ;  > >
=0A>  > > No, it's ALWAYS used for all p= age-table writes, as far as I
=0A>  > > understand.
=0A= >  > >
=0A>  > > --
=0A>  > &g= t; Mats
=0A>  > >
=0A>  > > > guest-pa= ge-table, but in the shadow-page-table, the value is
=0A>  > = > > modified to
=0A>  > > > reflect the actual ad= dress in machine-space, rather than what
=0A>  > > > th= e guest
=0A>  > > > thinks it should be.
=0A>&nbs= p; > > >
=0A>  > > > In futuer versions of AMD= processors (and I believe Intel are
=0A>  > > > workin= g on
=0A>  > > > something very similar if not the same= ), there will be a mode
=0A>  > > > where the
=0A>= ;  > > > processor is able to work in "nested paging mode", w= hich means that
=0A>  > > > there are two "parallel" pa= ge-tables. The first one is the
=0A>  > > > "guest-page= -table", the second one is the "host-page-table". In this
=0A>  = > > > case, every lookup in the guest-page-table will be done thro= ugh the
=0A>  > > > host-page-table. So we have a "simp= le" way to just take the
=0A>  > > > guest-page-table a= nd translate it to machine-physical-address
=0A>  > > >= - with the
=0A>  > > > good thing that the host-page-t= able needn't change, since the
=0A>  > > > pages that=0A>  > > > the host consists of is pretty much static f= or the duration of the
=0A>  > > > guest.
=0A>&nb= sp; > > >
=0A>  > > > Yes, read about about th= is in an article mention how Pacifica
=0A>  > > > is be= tter than VT.
=0A>  > > >
=0A>  > > &g= t; Say for example, we have a guest that lives at 256-512MB. The
=0A>=   > > > guest-page-table would contain, for example, a mappin= g for
=0A>  > > > 0x12200000 ->
=0A>  >= ; > > guest-physical 0x100000 (1MB). The host-page-table
=0A>&n= bsp; > >
=0A>  > > translates this to
=0A>&nbs= p; > >
=0A>  > > > 0x10100000 because the 1MB ent= ry in guest-address is 256+1MB in
=0A>  > > > machine-a= ddress.
=0A>  > > >
=0A>  > > > Exa= ctly, got this well on spot :).
=0A>  > > >
=0A>&= nbsp; > > > [In reality, it's very likely that the guest never get= s all
=0A>  > > > the space in
=0A>  > &g= t; > one big chunk, but rather a few pages here and a few pages there. I= f
=0A>  > > > there are big chunks, we could use large = pages to map those!].
=0A>  > > >
=0A>  >= > > Thanks a ton Mats and all.
=0A>  > > >
= =0A>  > > > --pradeep
=0A>  > > >
= =0A>  > > > The support for nested paging (called HAP, Har= dware Assisted
=0A>  > > > Paging) is
=0A>  = > > > in the Unstable version of Xen since a few days back.
=0A= >  > > >
=0A>  > > > --
=0A>&nbs= p; > > > Mats
=0A>  > > >
=0A>  >= ; > > > And this whole 2 level paging consitutes Xen's shadow page=
=0A>  > > > > tables. Right?
=0A>  > = > > >
=0A>  > > > > Is my understanding of = Xen's paging mechanism correct?or am i
=0A>  > > > >= missing something?
=0A>  > > > >
=0A>  &= gt; > > > Thank you
=0A>  > > > >
=0A>= ;  > > > > -pradeep
=0A>  >
=0A> = > _______________________________________________
=0A>  >= Xen-devel mailing list
=0A>  > Xen-devel@lists.xensource.com=
=0A>  > http://lists.xensource.com/xen-devel=0A>
=0A>  --
=0A>  Dave: Just a question. What u= se is a unicyle with no seat?  And no pedals!
=0A>  Mark: T= o answer a question with a question: What use is a skateboard?
=0A>&n= bsp; Dave: Skateboards have wheels.
=0A>  Mark: My wheel has a w= heel!
=0A
=0A--
=0ADave: Just a question. What use is a unicyle wi= th no seat?  And no pedals!
=0AMark: To answer a question with a qu= estion: What use is a skateboard?
=0ADave: Skateboards have wheels.
= =0AMark: My wheel has a wheel!
=0A
=0A
=0A

=0A=0A
DISCLA= IMER:
------------------------------------------------------------------= -----------------------------------------------------

The contents o= f this e-mail and any attachment(s) are confidential and intended for the n= amed recipient(s) only.
It shall not attach any liability on the origina= tor or HCL or its affiliates. Any views or opinions presented in
this e= mail are solely those of the author and may not necessarily reflect the opi= nions of HCL or its affiliates.
Any form of reproduction, dissemination,= copying, disclosure, modification, distribution and / or publication of this message without the prior written consent of the author of this e-ma= il is strictly prohibited. If you have
received this email in error plea= se delete it and notify the sender immediately. Before opening any mail and=
attachments please check them for viruses and defect.

-----------------------------------------------------------= ------------------------------------------------------------
____= ___________________________________________
Xen-devel mailing list
Xe= n-devel@lists.xensource.com
http://lists.xensource.com/xen-devel


=0A=09=0A=0A=09=0A=09=09
=0AHere= =92s a new way to find what you're looking for - Yahoo! Answers = --0-565723875-1173853188=:63120-- --===============0057499462== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --===============0057499462==--