Re: kvm vmx shadow paging question

2016-08-15 Thread Mika Penttilä
On 13.08.2016 18:47, Mika Penttilä wrote: > On 13.08.2016 17:38, Mika Penttilä wrote: > >> Hi, >> >> While studying the vmx code, and the shadow page tables usage (no ept >> involved), >> I wondered the GUEST_CR3 usage. If no ept, GUEST_CR3 points to the shadow >> tables. >> But the format of

Re: kvm vmx shadow paging question

2016-08-15 Thread Mika Penttilä
On 13.08.2016 18:47, Mika Penttilä wrote: > On 13.08.2016 17:38, Mika Penttilä wrote: > >> Hi, >> >> While studying the vmx code, and the shadow page tables usage (no ept >> involved), >> I wondered the GUEST_CR3 usage. If no ept, GUEST_CR3 points to the shadow >> tables. >> But the format of

Re: kvm vmx shadow paging question

2016-08-14 Thread Mika Penttilä
On 13.08.2016 17:38, Mika Penttilä wrote: > Hi, > > While studying the vmx code, and the shadow page tables usage (no ept > involved), > I wondered the GUEST_CR3 usage. If no ept, GUEST_CR3 points to the shadow > tables. > But the format of sptes is always 64 bit. How is that with 32 bit hosts,

Re: kvm vmx shadow paging question

2016-08-14 Thread Mika Penttilä
On 13.08.2016 17:38, Mika Penttilä wrote: > Hi, > > While studying the vmx code, and the shadow page tables usage (no ept > involved), > I wondered the GUEST_CR3 usage. If no ept, GUEST_CR3 points to the shadow > tables. > But the format of sptes is always 64 bit. How is that with 32 bit hosts,

Re: paging question

2001-02-09 Thread Jeff Hartmann
Daniel Stodden wrote: > hi. > > i desperately hope this is not too stupid. > > i'm trying to write a driver which depends on giving pci devices > access to somewhat larger amounts of pysical memory. let's say, a > megabyte of contiguous ram. Your unlikely to get 1 MB of contigous ram unless

Re: paging question

2001-02-09 Thread Rik van Riel
On Fri, 9 Feb 2001, Daniel Stodden wrote: > i desperately hope this is not too stupid. Only if the hardware is so stupid that you need this ;) > i'm trying to write a driver which depends on giving pci devices > access to somewhat larger amounts of pysical memory. let's say, a > megabyte of

Re: paging question

2001-02-09 Thread Rik van Riel
On Fri, 9 Feb 2001, Daniel Stodden wrote: i desperately hope this is not too stupid. Only if the hardware is so stupid that you need this ;) i'm trying to write a driver which depends on giving pci devices access to somewhat larger amounts of pysical memory. let's say, a megabyte of

Re: paging question

2001-02-09 Thread Jeff Hartmann
Daniel Stodden wrote: hi. i desperately hope this is not too stupid. i'm trying to write a driver which depends on giving pci devices access to somewhat larger amounts of pysical memory. let's say, a megabyte of contiguous ram. Your unlikely to get 1 MB of contigous ram unless you grab

paging question

2001-02-08 Thread Daniel Stodden
hi. i desperately hope this is not too stupid. i'm trying to write a driver which depends on giving pci devices access to somewhat larger amounts of pysical memory. let's say, a megabyte of contiguous ram. is it possible to resize such an area later on? i mean: is there some mechanism

paging question

2001-02-08 Thread Daniel Stodden
hi. i desperately hope this is not too stupid. i'm trying to write a driver which depends on giving pci devices access to somewhat larger amounts of pysical memory. let's say, a megabyte of contiguous ram. is it possible to resize such an area later on? i mean: is there some mechanism