From: Mark Williamson Subject: Re: Guest OS without paging Date: Wed, 9 Nov 2005 13:19:10 +0000 Message-ID: <200511091319.10818.mark.williamson@cl.cam.ac.uk> References: <20051107001154.GA10721@localhost.localdomain> <200511071726.20118.mark.williamson@cl.cam.ac.uk> <20051107185425.GC7339@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20051107185425.GC7339@localhost.localdomain> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel@lists.xensource.com Cc: Ivan Kelly List-Id: xen-devel@lists.xenproject.org > well, minix uses segmentation but doesn't use paging at all, because it's > build to be portable and not all processers have a mmu unit(i think the arm > doesn't and such). Im using minix 3. Out of interest, what exactly does it do with segmentation? Most CPUs don't have segmentation hardware at all... I can imagine ways they might have overlaid it on the flat memory model without affective other ports though... Task isolation? Kernel / user protection? Cheers, Mark > > Domains get a hard allocation of real memory, so when the pages get > > populated is entirely up to the guest; Xen won't interfere. > > What about page faults? Will I have to have to write code to handle these, > or can I assume that since im only ever using memory thats alreayd mapped, > page faults wont occur? > > > If you essentially want to pretend you've got a flat, unpaged address > > space then you should be able to just be able to build a set of page > > tables (for instance in your custom builder) and then pretend they're not > > there. Just remember that you can't use the very top part of the address > > space because Xen will be mapped there. > > Thats exactly what I want. Does the 64M address space need to have entries > in my page table or can i just make my guest's pagetable from 64M-xxM. > Also, is there are any pages allocated in this 64M address space, will they > my allocated from the domains pool of page frames, or from dom0's? > Best regards > Ivan > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xensource.com > http://lists.xensource.com/xen-devel