Jimi Xenidis
2006-Nov-13 20:50 UTC
[XenPPC] Question about: [LINUX] Various fixes for mmapping I/O and foreign memory pages.
in changeset: 12392:e1f3af226a8e8cb32de079b283cdcac718d3e076 you say: "auto-translate guests can use remap_pfn_range() rather than direct_remap_pfn_range()." 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? -JX _______________________________________________ Xen-ppc-devel mailing list Xen-ppc-devel@lists.xensource.com http://lists.xensource.com/xen-ppc-devel
Keir Fraser
2006-Nov-14 07:58 UTC
[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@watson.ibm.com> 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@lists.xensource.com http://lists.xensource.com/xen-ppc-devel