[XenPPC] dom0 auto-translate mmap()

2007-06-11 Thread Hollis Blanchard
Hi, as I'm porting the PPC patches to the current Linux tree, I noticed this code in privcmd.c: static int privcmd_mmap(struct file * file, struct vm_area_struct * vma) { /* Unsupported for auto-translate guests. */ if

[XenPPC] Re: [Xen-devel] dom0 auto-translate mmap()

2007-06-11 Thread Keir Fraser
On 11/6/07 17:42, Hollis Blanchard [EMAIL PROTECTED] wrote: The net is that I would like to remove the above test. I wonder why it was added in the first place? Somebody has a privileged autotranslate domain and mistakenly tried to run the domain building tools? Interesting. How does this

Re: [XenPPC] dom0 auto-translate mmap()

2007-06-11 Thread Jimi Xenidis
BTW: there was a quick discussion on this before: http://lists.xensource.com/archives/html/xen-devel/2006-11/ msg00672.html IIRC, We we continued faking it out until we got the ability to mmap'ing arbitrary pages. Now that we fixed the ability to properly address remote memory, this