diff options
author | jhb <jhb@FreeBSD.org> | 2015-04-30 15:48:48 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2015-04-30 15:48:48 +0000 |
commit | 9c4c8b62fb9ee054b5166366915f1eb29e777c1e (patch) | |
tree | 4a1cda02dc46c294f76d64f91257f14bc9f65e38 /sys/vm/vm_page.c | |
parent | da69eed60237b6098ef717b8cad672f3464462aa (diff) | |
download | FreeBSD-src-9c4c8b62fb9ee054b5166366915f1eb29e777c1e.zip FreeBSD-src-9c4c8b62fb9ee054b5166366915f1eb29e777c1e.tar.gz |
Remove support for Xen PV domU kernels. Support for HVM domU kernels
remains. Xen is planning to phase out support for PV upstream since it
is harder to maintain and has more overhead. Modern x86 CPUs include
virtualization extensions that support HVM guests instead of PV guests.
In addition, the PV code was i386 only and not as well maintained recently
as the HVM code.
- Remove the i386-only NATIVE option that was used to disable certain
components for PV kernels. These components are now standard as they
are on amd64.
- Remove !XENHVM bits from PV drivers.
- Remove various shims required for XEN (e.g. PT_UPDATES_FLUSH, LOAD_CR3,
etc.)
- Remove duplicate copy of <xen/features.h>.
- Remove unused, i386-only xenstored.h.
Differential Revision: https://reviews.freebsd.org/D2362
Reviewed by: royger
Tested by: royger (i386/amd64 HVM domU and amd64 PVH dom0)
Relnotes: yes
Diffstat (limited to 'sys/vm/vm_page.c')
-rw-r--r-- | sys/vm/vm_page.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/sys/vm/vm_page.c b/sys/vm/vm_page.c index 6cdbbc7..0aec01f 100644 --- a/sys/vm/vm_page.c +++ b/sys/vm/vm_page.c @@ -431,14 +431,6 @@ vm_page_startup(vm_offset_t vaddr) phys_avail[i + 1] = trunc_page(phys_avail[i + 1]); } -#ifdef XEN - /* - * There is no obvious reason why i386 PV Xen needs vm_page structs - * created for these pseudo-physical addresses. XXX - */ - vm_phys_add_seg(0, phys_avail[0]); -#endif - low_water = phys_avail[0]; high_water = phys_avail[1]; |