--- wikisrc/ports/xen/howto.mdwn 2021/03/15 00:11:52 1.203 +++ wikisrc/ports/xen/howto.mdwn 2021/03/15 00:25:54 1.204 @@ -27,7 +27,7 @@ PR. The basic concept of Xen is that the hypervisor (xenkernel) runs on the hardware, and runs a privileged domain ("dom0") that can access -disks/networking/etc. One then runs additonal unprivileged domains +disks/networking/etc. One then runs additional unprivileged domains (each a "domU"), presumably to do something useful. This HOWTO addresses how to run a NetBSD dom0 (and hence also build @@ -45,9 +45,9 @@ Xen supports different styles of guests. [[!table data=""" Style of guest |description |NetBSD dom0? |NetBSD domU? PV |Paravirtualization (hypercalls) |yes |yes -HVM |unmodified guest - domU perceives HW |N/A |yes -PVHVM |Like HVM but also PV drivers |N/A |current only -PVH | |not yet |current only +HVM |unmodified guest - domU perceives HW |can run guests |yes +PVHVM |Like HVM but also PV drivers |can run guests |current only +PVH |Lightweight HVM (no qemu) and PV |not yet |current only """]] In Para-Virtualized (PV) mode, the guest OS does not attempt to access @@ -85,8 +85,9 @@ There is a concept of Xen running on ARM The dom0 system should be amd64. (Instructions for i386PAE dom0 have been removed from the HOWTO.) -The domU can be i386PAE or amd64. -i386PAE at one point was considered as [faster](https://lists.xen.org/archives/html/xen-devel/2012-07/msg00085.html) than amd64. +The domU can be i386 PAE or amd64. +i386 PAE at one point was considered as [faster](https://lists.xen.org/archives/html/xen-devel/2012-07/msg00085.html) than amd64. +However, as of 2021 it is normal to use amd64 as the domU architecture, and use of i386 is dwindling. ## Xen Versions @@ -105,17 +106,17 @@ Xen Version |Package Name |Xen CPU Suppo See also the [Xen Security Advisory page](http://xenbits.xen.org/xsa/). -Older Xen had a python-based management tool called xm, now replaced -by xl. +Older Xen had a python-based management tool called xm; this has been +replaced by xl. ## NetBSD versions Xen has been supported in NetBSD for a long time, at least since 2005. Initially Xen was PV only. -NetBSD has supported PV for a very long time, in both dom0 and domU. -NetBSD >=8 supports HVM mode as a domU (HVM as a dom0 does not make -sense). +NetBSD Xen has always supported PV, in both dom0 and domU; for a long +time this was the only way. NetBSD >=8 as a dom0 supports HVM mode in +domUs (HVM as a dom0 does not make sense). Support for PVHVM and PVH is available only in NetBSD-current; this is currently somewhat experimental, although PVHVM appears reasonably