The NetBSD Project

CVS log for src/sys/arch/xen/xen/xenmem.c

[BACK] Up to [] / src / sys / arch / xen / xen

Request diff between arbitrary revisions

Default branch: MAIN

Revision 1.5 / (download) - annotate - [select for diffs], Wed Dec 20 15:34:46 2023 UTC (3 months, 4 weeks ago) by thorpej
Branch: MAIN
Changes since 1.4: +2 -3 lines
Diff to previous 1.4 (colored)

Remove unnecessary <sys/malloc.h>.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Sep 2 05:09:49 2022 UTC (19 months, 2 weeks ago) by kre
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Fix the syntax of the non _LP64 code fragment to match that in the
_LP64 fragment, so hopefully 32 bit ports with XEN (i386) will
build again.

Revision 1.3 / (download) - annotate - [select for diffs], Thu Sep 1 16:28:08 2022 UTC (19 months, 2 weeks ago) by bouyer
Branch: MAIN
Changes since 1.2: +6 -4 lines
Diff to previous 1.2 (colored)

Call extent_alloc_subregion() with EX_MALLOCOK; under heavy I/O load we need
lots of them and the preallocatted extent descriptors are not enough.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Aug 31 12:53:27 2022 UTC (19 months, 2 weeks ago) by bouyer
Branch: MAIN
Changes since 1.1: +2 -29 lines
Diff to previous 1.1 (colored)

Remove XENPV support from xenmem; it's only used for !XENPV at this time.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Aug 31 12:51:56 2022 UTC (19 months, 2 weeks ago) by bouyer
Branch: MAIN

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,
dom0 PVH support is still considered experimental by Xen.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

CVSweb <>