[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] [hybrid] : mmap pfn space...
On Mon, 2012-04-16 at 15:39 +0100, Daniel De Graaf wrote:
> On 04/13/2012 09:47 PM, Mukesh Rathor wrote:
> > I was thinking of just dividing my pfn space into say 10 chunks, each
> > with 10k pages, so 10 guest creations can happen simultaneously. But,
> > then xl is not the only process doing the mapping I found out. xenstored
> > also needs to map domU frames.
> With Xen 4.2, xenstored should be using the grant table for its shared
> page. Similar changes can be made to xenconsoled so that only the domain
> build/migrate processes use map_foreign_range. I have a patch to xenconsoled
> without the fallback to map_foreign_range sitting around; I was planning to
> post it with proper fallback (which I may do soon, looks simple enough).
That sounds like a good thing to have, although I don't think we'd take
it for 4.2 at this point so you've got some time.
I think the privcmd stuff needs to still assume that domain build is not
the only privileged mapper of pages and do proper tracking of what it
has mapped where. Various debug utilities etc also use this interface,
i.e. xenctx (and gdbsx? I suppose Mukesh would know ;-))
Xen-devel mailing list