Up to [cvs.NetBSD.org] / src / sys / arch / xen / include
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Remove XENPV support from xenmem; it's only used for !XENPV at this time.
Work in progress on dom0 PVH support: ioctl support for tools. Basically, in PVH mode (where XENFEAT_auto_translated_physmap is enabled), the hypervisor will not map foreing ressources in our virtual address space for us. Instead, we have to pass it an address in our physical address space (but not mapped to some RAM) where the ressource will show up and then enter this PA in pour page table. For this, introduce xenmem_* which manage the PA space. In PVH mode this is just allocated from the iomem_ex extent. With this, I can start a PV domU, and the guest's kernel boots (and the console works). It hangs because the backend driver can't map the frontend ressources (yet). Note that, per https://xenbits.xen.org/docs/unstable/support-matrix.html, dom0 PVH support is still considered experimental by Xen.