[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[XenPPC] Re: Question about: [LINUX] Various fixes for mmapping I/O and foreign memory pages.



On 13/11/06 8:50 pm, "Jimi Xenidis" <jimix@xxxxxxxxxxxxxx> wrote:

>    "auto-translate guests can use remap_pfn_range() rather than
>     direct_remap_pfn_range()."

This change was specifically made so that mmap of /dev/mem would work (i.e.,
mapping of I/O memory) on mini-xen (dom0 guest running on minimal
non-virtualising Xen shim).

> And code says:
>     kfraser 12392:  /* Unsupported for auto-translate guests. */
>     kfraser 12392:  if (xen_feature(XENFEAT_auto_translated_physmap))
>     kfraser 12392:   return -ENOSYS;
> 
> Is there a privcmd that "auto-translate guests" can use or are you
> expecting someone to fill this functionality in?

This needs filling in. Specifically: how will another domain's memory appear
in the local pseudophysical memory map (since that is the address space of
guest pagetable entries)?

 -- Keir



_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.